From: Nathan Schulte Date: Wed, 11 Jan 2017 02:48:59 +0000 (-0600) Subject: fix conditional in configure script X-Git-Tag: 4.14~74^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F2629%2Fhead;p=i3%2Fi3 fix conditional in configure script --- diff --git a/configure.ac b/configure.ac index 4f67d5ea..87ffbbe7 100644 --- a/configure.ac +++ b/configure.ac @@ -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"`