From 63bd613e5940509f5bd7d4a2e9b610f57aaeb42b Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sun, 22 Jan 2012 19:05:40 +0100 Subject: [PATCH] Better quoting --- vcsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5