aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeranoe <zeranoe@gmail.com>2018-02-21 17:51:34 -0500
committerGitHub <noreply@github.com>2018-02-21 17:51:34 -0500
commit23a07d7ad6ef0488454bd556f30de9a28526e315 (patch)
treed4a0f3871d589fb166603a464029079a6b9dd5d7
parent16acaf66ecb16d26fa6098221c09259281392619 (diff)
parent94ae36127777c28838bd9b5f3d059c5bdbd7681b (diff)
Merge pull request #6 from tmm1/var-naming
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