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 | 3402c5e8fed860396f6b2b58233989b62fc81014 (patch) | |
tree | dd993b22a8147d6d4031e283727865a51b1048dd /src/clean.bash | |
parent | b57ffae094f817755251b90871cc55f2b5b570dc (diff) | |
download | go-3402c5e8fed860396f6b2b58233989b62fc81014.tar.gz go-3402c5e8fed860396f6b2b58233989b62fc81014.zip |
misc/builder: support for uploading tarballs to googlecode
R=rsc
CC=golang-dev
https://golang.org/cl/1784042
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 db4cf40101..53fddd6c29 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 \ |