X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/9cc2469e835cbe8c1642a7e732ce5478ec629c0e..63bd613e5940509f5bd7d4a2e9b610f57aaeb42b:/vcsh?ds=inline diff --git a/vcsh b/vcsh index ac25063..0feb17a 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