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> | 2013-08-18 11:31:18 +0200 |
| commit | a48d32b281a28dd71ab81b85888965984ba79cb9 (patch) | |
| tree | 6c1f8b6b8ec4fc7def685404e0aed9bffe577c5f | |
| parent | 7e23a1ee30a44babc95d17e3ecbb233e14f650c2 (diff) | |
| download | scripts-a48d32b281a28dd71ab81b85888965984ba79cb9.tar.gz scripts-a48d32b281a28dd71ab81b85888965984ba79cb9.zip | |
create_tarball: Add support for multithreaded compressors
| -rwxr-xr-x | create_tarball | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/create_tarball b/create_tarball index a67c892..230a944 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 |
