From f6c5c636bb1a1f4e1301ae0ba5a8afecef439132 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 26 Sep 2018 14:43:00 +0200 Subject: [PATCH] niminst: fix 'gtar' invokation --- changelog.md | 2 +- tools/niminst/niminst.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 0fe2f6099d..7464f50b6b 100644 --- a/changelog.md +++ b/changelog.md @@ -62,7 +62,7 @@ - ``osLastError`` is now marked with ``sideEffect`` - The procs ``parseHexInt`` and ``parseOctInt`` now fail on empty strings - and strings containing only valid prefixes, e.g. "0x" for hex integers. + and strings containing only valid prefixes, e.g. "0x" for hex integers. - ``terminal.setCursorPos`` and ``terminal.setCursorXPos`` now work correctly with 0-based coordinates on POSIX (previously, you needed to use diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index ff2537e008..3c5572a077 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -684,7 +684,7 @@ RunProgram="tools\downloader.exe" if execShellCmd("7z a -sfx7zS2.sfx -t7z $1.exe $1" % proj) != 0: echo("External program failed (7z)") else: - if execShellCmd("gtar --exclude=.DS_Store cf $1.tar $1" % + if execShellCmd("gtar cf $1.tar --exclude=.DS_Store $1" % proj) != 0: # try old 'tar' without --exclude feature: if execShellCmd("tar cf $1.tar $1" % proj) != 0: