summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2011-02-24 15:56:53 +1100
committerDave Cheney <dave@cheney.net>2011-02-24 15:56:53 +1100
commitb3e5db142baa77efe45e59e50d7365d8d1756db0 (patch)
treed4acb68d7b16227e6c2a38a54bfb2281a294dd2d /src/make.bash
parent3b7cce4e9daf950be7113843c7a3163e0d5b428f (diff)
downloadgo-b3e5db142baa77efe45e59e50d7365d8d1756db0.tar.gz
build: remove unused nacl conditional from make.bash
R=golang-dev, adg CC=golang-dev http://codereview.appspot.com/4217042 Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash41
1 files changed, 18 insertions, 23 deletions
diff --git a/src/make.bash b/src/make.bash
index 43c70a87b..0cbf3becb 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -61,29 +61,24 @@ bash "$GOROOT"/src/clean.bash
# pkg builds libcgo and the Go programs in cmd.
for i in lib9 libbio libmach cmd pkg
do
- case "$i-$GOOS-$GOARCH" in
- cmd/*-nacl-*)
- ;;
- *)
- # The ( ) here are to preserve the current directory
- # for the next round despite the cd $i below.
- # set -e does not apply to ( ) so we must explicitly
- # test the exit status.
- (
- echo; echo; echo %%%% making $i %%%%; echo
- cd "$GOROOT"/src/$i
- case $i in
- cmd)
- bash make.bash
- ;;
- pkg)
- gomake install
- ;;
- *)
- gomake install
- esac
- ) || exit 1
- esac
+ # The ( ) here are to preserve the current directory
+ # for the next round despite the cd $i below.
+ # set -e does not apply to ( ) so we must explicitly
+ # test the exit status.
+ (
+ echo; echo; echo %%%% making $i %%%%; echo
+ cd "$GOROOT"/src/$i
+ case $i in
+ cmd)
+ bash make.bash
+ ;;
+ pkg)
+ gomake install
+ ;;
+ *)
+ gomake install
+ esac
+ ) || exit 1
done
# Print post-install messages.