aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmingw-w64-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingw-w64-build b/mingw-w64-build
index 77571e8..8d56ef7 100755
--- a/mingw-w64-build
+++ b/mingw-w64-build
@@ -254,12 +254,12 @@ bld="$wd/bld"
log="$wd/bld/build.log"
rm -fr "$log" "$src" "$bld"
-mkdir "$wd/bld" "$wd/src"
+mkdir "$bld" "$src"
download_sources 3>&1 1>>"$log" 2>&1
for arch in $@; do
build_toolchain "$arch" 3>&1 1>>"$log" 2>&1
done
-rm -fr "$wd/bld" "$wd/src"
+rm -fr "$bld" "$src"
exit 0