diff options
author | Hugo Chargois <hugo.chargois@free.fr> | 2021-05-10 20:47:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 11:47:00 -0700 |
commit | 913bbc0a494fb30df47bacafaafbb850fa6aeeaf (patch) | |
tree | ead1c9bab29884fc968ed38bf4f32812c081f00b | |
parent | 0838180ca0617df86673a24edd731fe70898cd35 (diff) | |
download | makeself-913bbc0a494fb30df47bacafaafbb850fa6aeeaf.tar.gz |
Pass threads option to zstd compressor (#244)
-rwxr-xr-x | makeself.sh | 3 |
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) |