From caa0f2205a62344c4df6e286e14a0d89cd1d10f2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 1 Jul 2009 02:31:59 -0500 Subject: 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 Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index fd98a5e7..b80ff5ab 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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" -- cgit v1.2.3-70-g09d2