summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-25 15:54:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-25 15:56:09 +0100
commit99e9af0c4242aef7f3cde3274d7b75968b3b245d (patch)
tree39c46701974d3976ac302f34870371ac01128e2b /crawl-ref/source/AppHdr.h
parent9305aa6caa1ab5da2d0eaa7d720ac7140c97aebb (diff)
downloadcrawl-ref-99e9af0c4242aef7f3cde3274d7b75968b3b245d.tar.gz
crawl-ref-99e9af0c4242aef7f3cde3274d7b75968b3b245d.zip
Remove unportable hacks from the invocation of tar.
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index e2be883659..1b43a1e646 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -461,16 +461,14 @@
// To avoid compression entirely, define SAVE_PACKAGE_NONE.
#ifndef SAVE_PACKAGE_NONE
#ifdef USE_TAR
- // The --absolute-names switch is only there to suppress noise on stdout.
- // All the paths are removed later by --transform.
#define PACKAGE_SUFFIX ".tar.gz"
- #define SAVE_PACKAGE_CMD "tar -zcf %s"PACKAGE_SUFFIX" --remove-files --absolute-names --transform=s:.*/:: %s.*"
+ #define SAVE_PACKAGE_CMD "tar"
#define LOAD_UNPACKAGE_CMD "tar -zxf %s"PACKAGE_SUFFIX" -C %s"
#define UNPACK_SPECIFIC_FILE_CMD LOAD_UNPACKAGE_CMD " %s"
#else
#ifdef USE_ZIP
#define PACKAGE_SUFFIX ".zip"
- #define SAVE_PACKAGE_CMD "/usr/bin/zip -m -q -j -1 %s"PACKAGE_SUFFIX" %s.*"
+ #define SAVE_PACKAGE_CMD "/usr/bin/zip -m -q -j"
#define LOAD_UNPACKAGE_CMD "/usr/bin/unzip -q -o %s"PACKAGE_SUFFIX" -d %s"
#define UNPACK_SPECIFIC_FILE_CMD LOAD_UNPACKAGE_CMD " %s"
#endif