Commit 01187f75 authored by Shenghou Ma's avatar Shenghou Ma Committed by Russ Cox

build: fix clean scripts

Fixes #10734.

Change-Id: I7a2c580b87749225668fbd7a005412c8eee6824d
Reviewed-on: https://go-review.googlesource.com/9823Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 7733a7ca
......@@ -13,4 +13,5 @@ if [ ! -x $GOTOOLDIR/dist ]; then
fi
"$GOBIN/go" clean -i std
$GOTOOLDIR/dist clean
"$GOBIN/go" tool dist clean
"$GOBIN/go" clean -i cmd
......@@ -7,7 +7,7 @@ setlocal
set GOBUILDFAIL=0
go tool dist env -wp >env.bat
go tool dist env -w -p >env.bat
if errorlevel 1 goto fail
call env.bat
del env.bat
......@@ -19,7 +19,8 @@ goto fail
:distok
"%GOBIN%\go" clean -i std
%GOTOOLDIR%\dist clean
"%GOBIN%\go" tool dist clean
"%GOBIN%\go" clean -i cmd
goto end
......
......@@ -11,4 +11,5 @@ if(! test -x $GOTOOLDIR/dist){
}
$GOBIN/go clean -i std
$GOTOOLDIR/dist clean
$GOBIN/go tool dist clean
$GOBIN/go clean -i cmd
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment