diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-10 12:19:07 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-25 23:05:26 -0500 |
commit | c6e47cb435988494f978c603eb12db97cfc88b3e (patch) | |
tree | 359ef3fe3f0756cb6a5d20e6228e1d9cd41afaca | |
parent | 9f751bf49247ff94b8ad8b808aee0527e9733a41 (diff) | |
download | pacman-c6e47cb435988494f978c603eb12db97cfc88b3e.tar.xz |
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>
-rwxr-xr-x | contrib/updpkgsums.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in index f4649b54..38c82810 100755 --- a/contrib/updpkgsums.sh.in +++ b/contrib/updpkgsums.sh.in @@ -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 |