makepkg: fix breakage with '%' in source filenames
Ensure we don't pass a bare filename to printf that might contain a lookalike '%' escape sequence. Fixes part of FS#15323. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
68c10690ea
commit
caa0f2205a
|
@ -658,7 +658,7 @@ extract_sources() {
|
|||
esac
|
||||
|
||||
local ret=0
|
||||
msg2 "$cmd \"$file\""
|
||||
msg2 '%s' "$cmd \"$file\""
|
||||
$cmd "$file" || ret=$?
|
||||
if [ $ret -ne 0 ]; then
|
||||
error "$(gettext "Failed to extract %s")" "$file"
|
||||
|
|
Loading…
Reference in New Issue