diff --git a/vcsh b/vcsh index ac2506370636665efeca52e91b338f50f6477edb..0feb17af0f23bffb1d5a74b4888147a2bdb062d0 100755 --- a/vcsh +++ b/vcsh @@ -265,7 +265,7 @@ fi # Mangle the input to fit normal operation. if echo $VCSH_REPO_NAME | grep -q '/'; then export GIT_DIR=$VCSH_REPO_NAME - export VCSH_REPO_NAME=$(basename $VCSH_REPO_NAME .git) + export VCSH_REPO_NAME=$(basename "$VCSH_REPO_NAME" .git) fi