Index: git-templates/hooks/applypatch-msg |
diff --git a/git-templates/hooks/applypatch-msg b/git-templates/hooks/applypatch-msg |
index bc62ba94b62193467c52daea211a2d73f6e5bfeb..286ddfe653c2fd8dad926d8207a55d066010d74c 100755 |
--- a/git-templates/hooks/applypatch-msg |
+++ b/git-templates/hooks/applypatch-msg |
@@ -1,4 +1,4 @@ |
-#!/bin/bash |
+#!/bin/sh |
Isaac (away)
2013/07/29 08:15:10
These lines look fine.
|
-[ -e "build/git-hooks/applypatch-msg" ] && exec bash "build/git-hooks/applypatch-msg" "$@" |
+[ -e "build/git-hooks/applypatch-msg" ] && exec sh "build/git-hooks/applypatch-msg" "$@" |
Isaac (away)
2013/07/29 08:15:10
Can we exec the script directly -- i.e. remove the
Isaac (away)
2013/07/29 08:18:01
Actually -- I'm pretty confident it is OK to remov
|
exit 0 |
Isaac (away)
2013/07/29 08:24:53
also exit 0 is redundant, can you remove these lin
|