From 136743c8ab455f00826887ae7efad3554085a489 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 1 Jul 2009 02:31:59 -0500 Subject: [PATCH] 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 --- scripts/makepkg.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 21bb7e3..6e7e15a 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" -- 1.6.3.3