From: Bruno Haible Date: Mon, 19 Dec 2005 16:24:48 +0000 (+0000) Subject: Fix a backslashing bug. X-Git-Tag: v0.15~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cdbca921a7800977b63bb217d91f8fb80b97254;p=thirdparty%2Fgettext.git Fix a backslashing bug. --- diff --git a/gettext-runtime/src/ChangeLog b/gettext-runtime/src/ChangeLog index cc3582144..7a18f35a1 100644 --- a/gettext-runtime/src/ChangeLog +++ b/gettext-runtime/src/ChangeLog @@ -1,6 +1,13 @@ +2005-12-19 Bruno Haible + + * gettext.sh.in: Fix behaviour when the sourceing script has a name + ending in gettext.sh. + Reported by Andreas Schwab . + 2005-12-19 Bruno Haible * gettext.sh.in: Make it work when sourced by zsh. + Reported by Sergio Talens-Oliag . 2005-05-23 Bruno Haible diff --git a/gettext-runtime/src/gettext.sh.in b/gettext-runtime/src/gettext.sh.in index 1e1a2c728..2519ada18 100644 --- a/gettext-runtime/src/gettext.sh.in +++ b/gettext-runtime/src/gettext.sh.in @@ -46,7 +46,7 @@ if test -z "$ZSH_VERSION"; then # being sourced, not executed, because hardly anyone is crazy enough to # install zsh as /bin/sh. case "$0" in - gettext.sh | */gettext.sh | *\gettext.sh) + gettext.sh | */gettext.sh | *\\gettext.sh) progname=$0 package=@PACKAGE@ version=@VERSION@