diff options
author | Andrew Gerrand <adg@golang.org> | 2010-07-30 14:00:59 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2010-07-30 14:00:59 +1000 |
commit | 146021aabff4269ce4f43a5c9f6a96c794389e9a (patch) | |
tree | 4d3094c63be126274e2995ab028b0f0cdad45cf3 /src/clean.bash | |
parent | 086f8fd7ca3dd05e5a2df208ddf301652843a0d3 (diff) | |
download | go-146021aabff4269ce4f43a5c9f6a96c794389e9a.tar.gz |
misc/builder: support for uploading tarballs to googlecode
R=rsc
CC=golang-dev
http://codereview.appspot.com/1784042
Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/clean.bash')
-rwxr-xr-x | src/clean.bash | 4 |
1 files changed, 3 insertions, 1 deletions
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 \ |