diff --git a/src/bootstrap.bash b/src/bootstrap.bash index 673fb61c67..bc9d445345 100755 --- a/src/bootstrap.bash +++ b/src/bootstrap.bash @@ -72,7 +72,7 @@ if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then # prepare a clean toolchain for others. true else - rm bin/go_${goos}_${goarch}_exec + rm -f bin/go_${goos}_${goarch}_exec mv bin/*_*/* bin rmdir bin/*_* rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}"