@matheusbsbs / matheus-bagliano / commits / 918e723204
Fork 0

For the benefit of Cygwin, test for git-cmd.exe

Peter Anvin committed Sep 28, 2005 at 16:56 UTC 918e723204651252e5a823481cc8450e498a45f9
1 file changed +3
git.sh
+3
@@ -11,7 +11,10 @@ case "$#" in
11 echo "git version @@GIT_VERSION@@"
12 exit 0 ;;
13 esac
14 +
15 test -x $path/git-$cmd && exec $path/git-$cmd "$@" ;;
16 +
17 + # In case we're running on Cygwin...
18 test -x $path/git-$cmd.exe && exec $path/git-$cmd.exe "$@" ;;
19 esac
20