diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-08-18 11:31:18 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-16 22:12:38 +0100 |
commit | a2bc0662a5814bd820d447ca4f407a9c8a5dfa0c (patch) | |
tree | 8c5e5ab8b6328b23525c19d13d5f3eb45a2c8d00 /create_tarball | |
parent | 47fb38fad730f4fdfc21e6a89dea1c7a63bb0b71 (diff) | |
download | scripts-a2bc0662a5814bd820d447ca4f407a9c8a5dfa0c.tar.gz scripts-a2bc0662a5814bd820d447ca4f407a9c8a5dfa0c.zip |
create_tarball: Add support for multithreaded compressors
(cherry picked from commit a48d32b281a28dd71ab81b85888965984ba79cb9)
Diffstat (limited to 'create_tarball')
-rwxr-xr-x | create_tarball | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/create_tarball b/create_tarball index ac38f80..0b2e406 100755 --- a/create_tarball +++ b/create_tarball @@ -14,9 +14,9 @@ TARBALL_DIR=${TARBALL_DIR:-".."} # Set compression method case ${COMPRESS:="xz"} in - "gzip") TAR_SUFFIX="gz";; - "bzip2") TAR_SUFFIX="bz2";; - "xz") TAR_SUFFIX="xz";; + "gzip"|"pigz") TAR_SUFFIX="gz";; + "bzip2"|"pbzip2") TAR_SUFFIX="bz2";; + "xz"|"pxz") TAR_SUFFIX="xz";; esac # Check git-dir |