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

Unified Diff: git-runhooks

Issue 197213008: Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/… (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Use "/usr/bin/env bash" for these files too. Created 6 years, 7 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-reparent-branch ('k') | git-squash-branch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-runhooks
diff --git a/git-runhooks b/git-runhooks
index 35af2eaa424044073d6aacef1aa8d353529a6546..5bb503e511ff8b5d5cff663b65e24e03af766c4e 100755
--- a/git-runhooks
+++ b/git-runhooks
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
while test "$PWD" != "/"; do
if test -f "$PWD/src/.gitmodules"; then
« no previous file with comments | « git-reparent-branch ('k') | git-squash-branch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698