aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2019-04-07 15:11:39 +0200
committerElias Naur <mail@eliasnaur.com>2019-04-07 14:32:14 +0000
commit1cff98d4fe3a39356b697225ff27ba5e2f1ef217 (patch)
tree1d282fb151ae30e2d586568458a684ca86bb0227 /src
parent1c00deeaf96743362a103957266f92e47ff90bc6 (diff)
downloadgo-1cff98d4fe3a39356b697225ff27ba5e2f1ef217.tar.xz
bootstrap.bash: remove exec wrappers
Without this change, building an Android toolchain fails: $ CGO_ENABLED=1 GOARCH=arm64 GOOS=android ./bootstrap.bash ... rmdir: failed to remove 'bin/go_android_arm64_exec': Not a directory Change-Id: Ibc3b1e2fd24b73a63bd3020ce1e813f2b4496125 Reviewed-on: https://go-review.googlesource.com/c/go/+/170941 Run-TryBot: Elias Naur <mail@eliasnaur.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bootstrap.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap.bash b/src/bootstrap.bash
index 32b736ad78..673fb61c67 100755
--- a/src/bootstrap.bash
+++ b/src/bootstrap.bash
@@ -72,6 +72,7 @@ if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
# prepare a clean toolchain for others.
true
else
+ rm bin/go_${goos}_${goarch}_exec
mv bin/*_*/* bin
rmdir bin/*_*
rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}"