diff options
-rw-r--r-- | tools/niminst/niminst.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index 4746f328a..e170bc5d7 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -700,8 +700,10 @@ RunProgram="tools\downloader.exe" if execShellCmd("tar cf $1.tar $1" % proj) != 0: echo("External program failed") - if execShellCmd("xz -9f $1.tar" % proj) != 0: - echo("External program failed") + if execShellCmd("xz -T0 -9f $1.tar" % proj) != 0: + # Maybe the xz version is too old and doesn't support threading + if execShellCmd("xz -9f $1.tar" % proj) != 0: + echo("External program failed") finally: setCurrentDir(oldDir) |