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

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

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 | « git-templates/hooks/applypatch-msg ('k') | git-templates/hooks/post-checkout » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-templates/hooks/post-applypatch
diff --git a/git-templates/hooks/post-applypatch b/git-templates/hooks/post-applypatch
index bd7fae87af8afb6fb4c525cdb475b9864f38ab8d..fd05e1ae5254cf589326bd821bdc19207899c248 100755
--- a/git-templates/hooks/post-applypatch
+++ b/git-templates/hooks/post-applypatch
@@ -1,4 +1,4 @@
#!/bin/sh
-[ -e "build/git-hooks/post-applypatch" ] && exec "build/git-hooks/post-applypatch" "$@"
+[ -e "build/git-hooks/post-applypatch" ] && exec sh "build/git-hooks/post-applypatch" "$@"
exit 0
« no previous file with comments | « git-templates/hooks/applypatch-msg ('k') | git-templates/hooks/post-checkout » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698