mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
Use maximum compression level for XZ tarball
This commit is contained in:
@@ -593,7 +593,7 @@ proc xzDist(c: var ConfigData) =
|
||||
let oldDir = getCurrentDir()
|
||||
setCurrentDir(tmpDir)
|
||||
try:
|
||||
if execShellCmd("tar Jcf $1.tar.xz $1" % proj) != 0:
|
||||
if execShellCmd("XZ_OPT=-9 tar Jcf $1.tar.xz $1" % proj) != 0:
|
||||
echo("External program failed")
|
||||
finally:
|
||||
setCurrentDir(oldDir)
|
||||
|
||||
Reference in New Issue
Block a user