Skip to content

Commit

Permalink
Fixing git_version.sh when git path includes spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Feb 9, 2015
1 parent e682921 commit 0d00cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_version.sh
Expand Up @@ -156,7 +156,7 @@ EOF

# Detect git tool (should work with old and new git versions)
git_found=yes
if [ "x$GIT" = "xgit" ] && [ x`which $GIT 2>/dev/null` = "x" ]; then
if [ "x$GIT" = "xgit" ] && [ "x`which $GIT 2>/dev/null`" = "x" ]; then
git_found="'$GIT' not found"
break
fi
Expand Down

0 comments on commit 0d00cfd

Please sign in to comment.