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

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

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

Powered by Google App Engine
This is Rietveld 408576698