diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-03-12 18:28:27 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-03-19 05:12:44 +0100 |
commit | ee5f24e50ca5792d37cfbdcbb134fb58777d3eb8 (patch) | |
tree | a36bb2e95acd988446a8a66f586257482c3d63f3 /autogen.sh | |
parent | 35a0d5e744d1c3f93d4f4f79b2ca2e3e411fdd5a (diff) | |
download | pacman-ee5f24e50ca5792d37cfbdcbb134fb58777d3eb8.tar.gz pacman-ee5f24e50ca5792d37cfbdcbb134fb58777d3eb8.tar.xz |
libmakepkg: fix reporting of invalid archive extensions in compress.sh
In commit 1825bd6716c2a51c92642e8b96beac0101e83805 this was split out
from makepkg, but the warning was not properly migrated; $ext did not
ever exist.
As a result, no matter what you did, the only possible warning was:
==> WARNING: '' is not a valid archive extension.
Fix to filter based on the presence of .tar in the argument, and
building the $ext variable for all checking and messaging purposes
within the function.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions