summaryrefslogtreecommitdiff
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
commitd5a213c027d18c2c8de4b869af2b6839badb3871 (patch)
treefce12a0753dcdb206ec0d64d571afcfc1711145c /src/sudo.bash
parentae4b93f1aa082f2529247d0eddcc5a04ffa71564 (diff)
downloadgo-d5a213c027d18c2c8de4b869af2b6839badb3871.tar.gz
build: no required environment variables
R=adg, r, PeterGo CC=golang-dev http://codereview.appspot.com/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 d87fb231d..147e58f15 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)
;;