]> Cypherpunks repositories - gostls13.git/commitdiff
sync make-arm.bash with make.bash
authorRuss Cox <rsc@golang.org>
Thu, 7 Jan 2010 02:19:56 +0000 (18:19 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 7 Jan 2010 02:19:56 +0000 (18:19 -0800)
R=r
CC=golang-dev
https://golang.org/cl/183135

src/make-arm.bash

index 3491170782ebb502c490cf9310bf785e294e376e..d85e3a9e31e67e6f7661cb8a968e0c3e8b59bd97 100755 (executable)
@@ -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