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

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

Issue 19278004: Use plain sh instead of bash in the git template hooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
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
Index: git-templates/hooks/post-update
diff --git a/git-templates/hooks/post-update b/git-templates/hooks/post-update
index b0fe1c52a418ac718226e0b4b00b7219646664d9..674b57fc00e761aad96c3ca1c4e7d3ef1c0202dc 100755
--- a/git-templates/hooks/post-update
+++ b/git-templates/hooks/post-update
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
-[ -e "build/git-hooks/post-update" ] && exec bash "build/git-hooks/post-update" "$@"
+[ -e "build/git-hooks/post-update" ] && exec sh "build/git-hooks/post-update" "$@"
exit 0

Powered by Google App Engine
This is Rietveld 408576698