1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

updpkgsums: avoid fancy quoting in error message

m4 has a field day parsing escapes and actually vandalizes this string,
causing the error to look like:

 ==> ERROR: \PKGBUILD\ not found or is not a file

Avoid all quoting and just match up with how makepkg reports errors (no
quoting at all).

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dave Reisner 2012-06-10 12:19:07 -04:00 committed by Dan McGee
parent 9f751bf492
commit c6e47cb435

View File

@ -43,7 +43,7 @@ esac
buildfile=${1:-PKGBUILD}
if [[ ! -f $buildfile ]]; then
printf $'==> ERROR: \`%s\' not found or is not a file: %s\n' "$buildfile"
printf '==> ERROR: %s not found or is not a file: %s\n' "$buildfile"
exit 1
fi