summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/make.bash b/src/make.bash
index 0cbf3becb..d9ca40d42 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -61,24 +61,8 @@ bash "$GOROOT"/src/clean.bash
# pkg builds libcgo and the Go programs in cmd.
for i in lib9 libbio libmach cmd pkg
do
- # 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
+ echo; echo; echo %%%% making $i %%%%; echo
+ gomake -C $i install
done
# Print post-install messages.