mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
build: allow clean.bash to work on fresh checkout
Must be invoked as ./clean.bash --gomake make (or --gomake gmake, depending on the name of GNU make). R=niemeyer CC=golang-dev https://golang.org/cl/4023065
This commit is contained in:
parent
4fa6d57f6e
commit
6c5e4e1854
3 changed files with 13 additions and 8 deletions
|
|
@ -25,8 +25,8 @@ for i in lib9 libbio libmach cmd pkg \
|
|||
do(
|
||||
cd "$GOROOT"/src/$i || exit 1
|
||||
if test -f clean.bash; then
|
||||
bash clean.bash
|
||||
bash clean.bash --gomake $MAKE
|
||||
else
|
||||
gomake clean
|
||||
$MAKE clean
|
||||
fi
|
||||
)done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue