Fixes #10734.
Change-Id: I7a2c580b87749225668fbd7a005412c8eee6824d
Reviewed-on: https://go-review.googlesource.com/9823
Reviewed-by: Russ Cox <rsc@golang.org>
fi
"$GOBIN/go" clean -i std
-$GOTOOLDIR/dist clean
+"$GOBIN/go" tool dist clean
+"$GOBIN/go" clean -i cmd
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
:distok
"%GOBIN%\go" clean -i std
-%GOTOOLDIR%\dist clean
+"%GOBIN%\go" tool dist clean
+"%GOBIN%\go" clean -i cmd
goto end
}
$GOBIN/go clean -i std
-$GOTOOLDIR/dist clean
+$GOBIN/go tool dist clean
+$GOBIN/go clean -i cmd