Use maximum compression level for XZ tarball

This commit is contained in:
Sergey Avseyev 2015-05-26 13:51:22 +03:00
commit a333cf939f
No known key found for this signature in database
GPG key ID: B8C52427872CF7D3

View file

@ -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)