Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
prompt: respect GIT_TERMINAL_PROMPT to disable terminal prompts
[gitweb.git]
/
check_bindir
diff --git
a/check_bindir
b/check_bindir
index a1c4c3e8d845e8e791d7df0c1387e1b2262b5ecf..623eadcbb7dd2b7f58be0ef070b8c805a8101add 100755
(executable)
--- 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."