aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-02-21 11:17:16 -0800
committerAman Gupta <aman@tmm1.net>2018-02-21 11:17:16 -0800
commit94ae36127777c28838bd9b5f3d059c5bdbd7681b (patch)
treed4a0f3871d589fb166603a464029079a6b9dd5d7
parent16acaf66ecb16d26fa6098221c09259281392619 (diff)
use existing path variables
-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