X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/63bd613e5940509f5bd7d4a2e9b610f57aaeb42b..ed75afaad17884dcb3eb9b1f66ba45b7f4018dbb:/vcsh 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