1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:20:12 -07:00
go/src/clean.bash
Russ Cox 85e014a27e fix build:
install runtime lib in correct location.
	fix one bad type definition in defs.h.
	clear out $GOROOT/lib in clean.bash.

TBR=r
OCL=26691
CL=26691
2009-03-24 16:04:25 -07:00

20 lines
366 B
Bash
Executable File

#!/bin/bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
rm -f $GOROOT/pkg/*.[6a]
rm -f $GOROOT/lib/*.[6a]
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
do
cd $i
case $i in
cmd)
bash clean.bash
;;
*)
make clean
esac
cd ..
done