X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/63bd613e5940509f5bd7d4a2e9b610f57aaeb42b..eff7e0e63171e4800dd24ccf0453e892fa16fb4f:/vcsh?ds=inline diff --git a/vcsh b/vcsh index 0feb17a..fdfeb84 100755 --- a/vcsh +++ b/vcsh @@ -213,8 +213,8 @@ write_gitignore() { fatal "could not move '$tempfile' to '$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME'" 53 } -if [ ! x$VCSH_GITIGNORE = x'exact' ] && [ ! x$VCSH_GITIGNORE = x'recursive' ]; then - fatal "\$VCSH_GITIGNORE must be either 'exact' or 'recursive'" 1 +if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ]; then + fatal "'\$VCSH_GITIGNORE' must be either 'exact' or 'recursive'" 1 fi if [ "$1" = 'clone' ]; then