diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-10-08 13:35:46 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-10-08 13:35:46 -0700 |
commit | 71b9ef8c235f052495a1fb29bd3945f7094998a9 (patch) | |
tree | 6c85f505b997d555f3f6299503b2f467331a63b4 /src | |
parent | 26d8e3cbbd3912d1e5d92ad43de15fcce9680204 (diff) | |
download | golang-71b9ef8c235f052495a1fb29bd3945f7094998a9.tar.gz |
Only clean the relevant installed files, not everything. This
should let a 6g build and an 8g build be done in sequence
without stepping on each other.
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=35478
CL=35481
Diffstat (limited to 'src')
-rwxr-xr-x | src/clean.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clean.bash b/src/clean.bash index 1c568a591..f5cd3b057 100755 --- a/src/clean.bash +++ b/src/clean.bash @@ -3,8 +3,8 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -rm -rf $GOROOT/pkg/[0-9a-zA-Z_]* -rm -f $GOROOT/lib/*.[6a] +rm -rf $GOROOT/pkg/${GOOS}_$GOARCH +rm -f $GOROOT/lib/*.a for i in lib9 libbio libcgo libmach libregexp cmd pkg \ ../misc/cgo/gmp ../misc/cgo/stdio \ ../usr/r/rpc ../usr/dsymonds/iterable \ |