aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap-msvc.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-01 11:26:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-01 11:26:54 +0200
commitc06600bc5e24389453d9a486c69d9746ae4fef23 (patch)
treedf6b7fd6176a86bdc06ebeaab3d17fc25468c263 /etc/bootstrap/bbot-bootstrap-msvc.bat
parent0ffb0a1a0a13d07c4448f7752232d8854b790623 (diff)
Prevent MSYS2 tar from forking for decompression
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap-msvc.bat')
-rw-r--r--etc/bootstrap/bbot-bootstrap-msvc.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-msvc.bat b/etc/bootstrap/bbot-bootstrap-msvc.bat
index b502c7b..1cf5215 100644
--- a/etc/bootstrap/bbot-bootstrap-msvc.bat
+++ b/etc/bootstrap/bbot-bootstrap-msvc.bat
@@ -86,10 +86,13 @@ move build2-baseutils-*-x86_64-windows %INSTALL%
curl -s -S -O "tftp://%tftp%/build2-toolchain.tar.xz"
@if errorlevel 1 goto error
-tar -xf build2-toolchain.tar.xz
+xz -d build2-toolchain.tar.xz
@if errorlevel 1 goto error
-del build2-toolchain.tar.xz
+tar -xf build2-toolchain.tar
+@if errorlevel 1 goto error
+
+del build2-toolchain.tar
@if errorlevel 1 goto error