From: Richard Hartmann Date: Fri, 10 Feb 2012 16:06:30 +0000 (+0100) Subject: Fix quoting X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/fc99d6b84dbc8f45352848cab1bdd1eb3bc53bb3?ds=inline;hp=--cc Fix quoting --- fc99d6b84dbc8f45352848cab1bdd1eb3bc53bb3 diff --git a/vcsh b/vcsh index fef3bc8..41d80e3 100755 --- a/vcsh +++ b/vcsh @@ -219,7 +219,7 @@ if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' fi if [ "$1" = 'clone' ]; then - [ -z $2 ] && fatal "$1: please specify a remote" 1 + [ -z "$2" ] && fatal "$1: please specify a remote" 1 export VCSH_COMMAND="$1" GIT_REMOTE="$2" [ -n "$3" ] && VCSH_REPO_NAME="$3" || VCSH_REPO_NAME=$(basename "$GIT_REMOTE" .git)