Skip to main content
Sign in
Snippets Groups Projects
Commit fc99d6b8 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Fix quoting

parent 711b529b
Branches
Tags
No related merge requests found
...@@ -219,7 +219,7 @@ if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ...@@ -219,7 +219,7 @@ if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive'
fi fi
if [ "$1" = 'clone' ]; then 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" export VCSH_COMMAND="$1"
GIT_REMOTE="$2" GIT_REMOTE="$2"
[ -n "$3" ] && VCSH_REPO_NAME="$3" || VCSH_REPO_NAME=$(basename "$GIT_REMOTE" .git) [ -n "$3" ] && VCSH_REPO_NAME="$3" || VCSH_REPO_NAME=$(basename "$GIT_REMOTE" .git)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment