pacman/scripts/libmakepkg/util
Eli Schwartz ee5f24e50c libmakepkg: fix reporting of invalid archive extensions in compress.sh
In commit 1825bd6716 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>
2019-03-19 14:12:44 +10:00
..
compress.sh.in libmakepkg: fix reporting of invalid archive extensions in compress.sh 2019-03-19 14:12:44 +10:00
error.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
meson.build libmakepkg: centralise random arrays of pkgbuild variables 2019-01-31 10:02:37 +10:00
message.sh.in message.sh: add modifications from output_format.sh 2018-10-21 20:20:45 +10:00
option.sh.in libmakepkg/util/option: Refactor checking to reduce code duplication 2018-08-10 12:37:20 +10:00
parseopts.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pkgbuild.sh.in fix various typos 2019-02-04 10:17:30 +10:00
schema.sh.in makepkg: add new checksum algorithm via coreutils b2sum 2019-03-07 11:12:12 +10:00
source.sh.in libmakepkg: optimize get_protocol to always return proto, not proto+uri 2019-01-22 09:38:21 +10:00
util.sh.in scripts: Remove trailing semicolons 2018-08-10 12:37:20 +10:00