From 94ae36127777c28838bd9b5f3d059c5bdbd7681b Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Wed, 21 Feb 2018 11:17:16 -0800 Subject: use existing path variables --- mingw-w64-build | 4 ++-- 1 file 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 -- cgit v1.2.3