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

Unified Diff: man/src/make_docs.sh

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 | « man/src/git-squash-branch.demo.1.sh ('k') | man/src/prep_demo_repo.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/make_docs.sh
diff --git a/man/src/make_docs.sh b/man/src/make_docs.sh
index d011a61229230fda628d4995a324e15982736dff..73d76e248974353fb1b9aa286bf757c9cb15b63e 100755
--- a/man/src/make_docs.sh
+++ b/man/src/make_docs.sh
@@ -1,4 +1,7 @@
-#!/bin/bash -e
+#!/usr/bin/env bash
+
+set -e
+
shopt -s nullglob
cd $(dirname "$0")
« no previous file with comments | « man/src/git-squash-branch.demo.1.sh ('k') | man/src/prep_demo_repo.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698