]> git.sur5r.net Git - i3/i3/commitdiff
fix conditional in configure script 2629/head
authorNathan Schulte <nmschulte@gmail.com>
Wed, 11 Jan 2017 02:48:59 +0000 (20:48 -0600)
committerNathan Schulte <nmschulte@gmail.com>
Wed, 11 Jan 2017 02:48:59 +0000 (20:48 -0600)
configure.ac

index 4f67d5ea867775734381d84af816ed8d7a5c362d..87ffbbe735c36366e2518c61673686e156658a0a 100644 (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"`