diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-06-10 00:52:58 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-06-10 00:52:58 +0200 |
commit | 8662e140b409b56bc16ce9e1a079dae5745cf0d3 (patch) | |
tree | 5a9c704772ea92a3b8e977a77ed7eb8ea37d6203 /tools/niminst | |
parent | a9f5ffb4c77d1e4a4abf4093a98c269ed6eb6a88 (diff) | |
download | Nim-8662e140b409b56bc16ce9e1a079dae5745cf0d3.tar.gz |
fixes a niminst regression
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/niminst.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index 06a468cd5..b2983b23b 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -635,7 +635,7 @@ proc xzDist(c: var ConfigData) = let oldDir = getCurrentDir() setCurrentDir(tmpDir) try: - if execShellCmd("XZ_OPT=-9 gtar Jcf $1.tar.xz $1 --exclude=.DS_Store" % proj) == 0: + if execShellCmd("XZ_OPT=-9 gtar Jcf $1.tar.xz $1 --exclude=.DS_Store" % proj) != 0: # try old 'tar' without --exclude feature: if execShellCmd("XZ_OPT=-9 tar Jcf $1.tar.xz $1" % proj) != 0: echo("External program failed") |