summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-01-06 18:19:56 -0800
committerRuss Cox <rsc@golang.org>2010-01-06 18:19:56 -0800
commit3e08718a34fa22c08a4c9cb507817f9e08eaa288 (patch)
tree08380e0a783d80e231888808192050bf02af7660
parent3c5bb07866e26c7a11b5374874ab99812a2ef987 (diff)
downloadgolang-3e08718a34fa22c08a4c9cb507817f9e08eaa288.tar.gz
sync make-arm.bash with make.bash
R=r CC=golang-dev http://codereview.appspot.com/183135
-rwxr-xr-xsrc/make-arm.bash9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/make-arm.bash b/src/make-arm.bash
index 349117078..d85e3a9e3 100755
--- a/src/make-arm.bash
+++ b/src/make-arm.bash
@@ -44,8 +44,6 @@ linux)
exit 1
esac
-bash clean.bash
-
rm -f "$GOBIN"/quietgcc
cp quietgcc.bash "$GOBIN"/quietgcc
chmod +x "$GOBIN"/quietgcc
@@ -58,7 +56,12 @@ fi
(echo '#!/bin/sh'; echo 'exec '$MAKE' "$@"') >"$GOBIN"/gomake
chmod +x "$GOBIN"/gomake
-bash clean.bash
+(
+ cd "$GOROOT"/src/pkg;
+ bash deps.bash # do this here so clean.bash will work in the pkg directory
+)
+bash "$GOROOT"/src/clean.bash
+
# TODO(kaib): converge with normal build
#for i in lib9 libbio libmach cmd pkg libcgo cmd/cgo cmd/ebnflint cmd/godoc cmd/gofmt