diff --git a/tool/gocross/gocross-wrapper.sh b/tool/gocross/gocross-wrapper.sh index 22503f108..b6a6aa560 100755 --- a/tool/gocross/gocross-wrapper.sh +++ b/tool/gocross/gocross-wrapper.sh @@ -62,6 +62,7 @@ if [ ! -d "$toolchain" ]; then mkdir -p "$toolchain" (cd "$toolchain" && tar --strip-components=1 -xf "$toolchain.tar.gz") echo "$REV" >"$toolchain.extracted" + rm -f "$toolchain.tar.gz" ;; esac fi