diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/libmakepkg/util/compress.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/libmakepkg/util/compress.sh.in b/scripts/libmakepkg/util/compress.sh.in index d35a01fa..ab3b1e6e 100644 --- a/scripts/libmakepkg/util/compress.sh.in +++ b/scripts/libmakepkg/util/compress.sh.in @@ -65,6 +65,9 @@ get_compression_command() { esac ext=${ext#*.tar.} + # empty the variable for plain tar archives so we fallback to cat + ext=${ext#*.tar} + if [[ -n $ext ]]; then extarray="COMPRESS${ext^^}[@]" resolvecmd=("${!extarray}") |