X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5ab598e8441b3cc3daf16fce18d963e1a1ac8f32..28318554e3933b60023cf946b70f05f3b25e43d6:/vcsh diff --git a/vcsh b/vcsh index b5b6621..b54ecb4 100755 --- a/vcsh +++ b/vcsh @@ -334,8 +334,8 @@ write_gitignore() { fatal "could not move '$tempfile' to '$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME'" 53 } -if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ] && [ ! "x$VCSH_GITIGNORE" = 'xnone' ]; then - fatal "'\$VCSH_GITIGNORE' must equal 'exact', 'recursive', or 'none'" 1 +if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xnone' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ]; then + fatal "'\$VCSH_GITIGNORE' must equal 'exact', 'none', or 'recursive'" 1 fi if [ "$1" = 'clone' ]; then