fix conditional in configure script

This commit is contained in:
Nathan Schulte 2017-01-10 20:48:59 -06:00
parent d4066a6c60
commit 0a6e2865e0
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ else
fi
in_git_worktree=`git rev-parse --is-inside-work-tree 2>/dev/null`
if "$in_git_worktree" == "true"; then
if [[ "$in_git_worktree" = "true" ]]; then
git_dir=`git rev-parse --git-dir 2>/dev/null`
srcdir=`dirname "$git_dir"`
exclude_dir=`pwd | sed "s,^$srcdir,,g"`