summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Peter <megastep@megastep.org>2021-05-11 19:16:07 -0700
committerStephane Peter <megastep@megastep.org>2021-05-11 19:16:07 -0700
commit46df693624e48d1b7a895d482a791557987c61d8 (patch)
treef0955aa07c1ffea4950a2b20840c2ecb9312a5ee
parent17ab4ead81e6e7e652fa96e685f830656e2d1b94 (diff)
parent913bbc0a494fb30df47bacafaafbb850fa6aeeaf (diff)
downloadmakeself-46df693624e48d1b7a895d482a791557987c61d8.tar.gz
Merge branch 'master' of github.com:megastep/makeself
-rwxr-xr-xmakeself.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/makeself.sh b/makeself.sh
index f9e63f7..5182630 100755
--- a/makeself.sh
+++ b/makeself.sh
@@ -521,6 +521,9 @@ pigz)
;;
zstd)
GZIP_CMD="zstd -$COMPRESS_LEVEL"
+ if test $THREADS -ne $DEFAULT_THREADS; then # Leave as the default if threads not indicated
+ GZIP_CMD="$GZIP_CMD --threads=$THREADS"
+ fi
GUNZIP_CMD="zstd -cd"
;;
pbzip2)