aboutsummaryrefslogtreecommitdiff
path: root/src/sudo.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-08-18 10:08:49 -0400
committerRuss Cox <rsc@golang.org>2010-08-18 10:08:49 -0400
commitda392d9136b56b28d901aacf9fe79996bf729c65 (patch)
tree049d4382b068bdd59ecec8dad9617bbb3be5f512 /src/sudo.bash
parent31339c32244a58263dd2f375d0c32d5f0ac596e5 (diff)
downloadgo-da392d9136b56b28d901aacf9fe79996bf729c65.tar.xz
build: no required environment variables
R=adg, r, PeterGo CC=golang-dev https://golang.org/cl/1942044
Diffstat (limited to 'src/sudo.bash')
-rwxr-xr-xsrc/sudo.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sudo.bash b/src/sudo.bash
index d87fb231dd..147e58f152 100755
--- a/src/sudo.bash
+++ b/src/sudo.bash
@@ -3,6 +3,9 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
+set -e
+. ./env.bash
+
case "`uname`" in
Darwin)
;;