summaryrefslogtreecommitdiff
path: root/check_bindir
diff options
context:
space:
mode:
Diffstat (limited to 'check_bindir')
-rwxr-xr-xcheck_bindir2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_bindir b/check_bindir
index a1c4c3e8d8..623eadcbb7 100755
--- a/check_bindir
+++ b/check_bindir
@@ -2,7 +2,7 @@
bindir="$1"
gitexecdir="$2"
gitcmd="$3"
-if test "$bindir" != "$gitexecdir" -a -x "$gitcmd"
+if test "$bindir" != "$gitexecdir" && test -x "$gitcmd"
then
echo
echo "!! You have installed git-* commands to new gitexecdir."