From 146021aabff4269ce4f43a5c9f6a96c794389e9a Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 30 Jul 2010 14:00:59 +1000 Subject: misc/builder: support for uploading tarballs to googlecode R=rsc CC=golang-dev http://codereview.appspot.com/1784042 Committer: Andrew Gerrand --- src/clean.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/clean.bash') diff --git a/src/clean.bash b/src/clean.bash index db4cf4010..53fddd6c2 100755 --- a/src/clean.bash +++ b/src/clean.bash @@ -20,7 +20,9 @@ fi GOBIN="${GOBIN:-$HOME/bin}" -rm -rf "$GOROOT"/pkg/${GOOS}_$GOARCH +if [ "$1" != "--nopkg" ]; then + rm -rf "$GOROOT"/pkg/${GOOS}_$GOARCH +fi rm -f "$GOROOT"/lib/*.a for i in lib9 libbio libcgo libmach cmd pkg \ ../misc/cgo/gmp ../misc/cgo/stdio \ -- cgit v1.2.1