Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: git-templates/hooks/applypatch-msg

Issue 21012004: Explicitly exec hooks inside a shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | git-templates/hooks/post-applypatch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-templates/hooks/applypatch-msg
diff --git a/git-templates/hooks/applypatch-msg b/git-templates/hooks/applypatch-msg
index 35e558bfca72f1a06a52ce77e3e1cf1fec1624fd..286ddfe653c2fd8dad926d8207a55d066010d74c 100755
--- a/git-templates/hooks/applypatch-msg
+++ b/git-templates/hooks/applypatch-msg
@@ -1,4 +1,4 @@
#!/bin/sh
-[ -e "build/git-hooks/applypatch-msg" ] && exec "build/git-hooks/applypatch-msg" "$@"
+[ -e "build/git-hooks/applypatch-msg" ] && exec sh "build/git-hooks/applypatch-msg" "$@"
exit 0
« no previous file with comments | « no previous file | git-templates/hooks/post-applypatch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698