Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-01-20 14:08:55 +0100
committerDan McGee <dan@archlinux.org>2008-01-20 14:30:26 -0600
commit73ee64d49f8703e2b732ae03771a63ef56208601 (patch)
tree3a3973726af51560bd6b85862578a672849b754a
parentba7687f58eab73627ba9325ad117ef2fbbeebb12 (diff)
workaround for a gettext string starting with --.
Workaround found in Advanced Bash-Scripting Guide, localization section. "added a \0 (NULL) at the beginning of the sentence." Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index ad95356c..998e240c 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1187,7 +1187,7 @@ done
if [ "$HOLDVER" = "1" -a "$FORCE_VER" != "" ]; then
# The extra '--' is here to prevent gettext from thinking --holdver is
# an option
- error "$(gettext -- "--holdver and --forcever cannot both be specified")"
+ error "$(gettext "\\0--holdver and --forcever cannot both be specified" )"
exit 1
fi