diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-20 14:08:55 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-20 14:30:26 -0600 |
commit | 73ee64d49f8703e2b732ae03771a63ef56208601 (patch) | |
tree | 3a3973726af51560bd6b85862578a672849b754a | |
parent | ba7687f58eab73627ba9325ad117ef2fbbeebb12 (diff) | |
download | pacman-73ee64d49f8703e2b732ae03771a63ef56208601.tar.xz |
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.in | 2 |
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 |