]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a backslashing bug.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Dec 2005 16:24:48 +0000 (16:24 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:58 +0000 (12:12 +0200)
gettext-runtime/src/ChangeLog
gettext-runtime/src/gettext.sh.in

index cc35821449166510c9e403df090de282cc299cc8..7a18f35a105589bdad1a358fbce520b77b87adee 100644 (file)
@@ -1,6 +1,13 @@
+2005-12-19  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.sh.in: Fix behaviour when the sourceing script has a name
+       ending in gettext.sh.
+       Reported by Andreas Schwab <schwab@suse.de>.
+
 2005-12-19  Bruno Haible  <bruno@clisp.org>
 
        * gettext.sh.in: Make it work when sourced by zsh.
+       Reported by Sergio Talens-Oliag <sto@debian.org>.
 
 2005-05-23  Bruno Haible  <bruno@clisp.org>
 
index 1e1a2c7288bc3d21852ee573fb7567e594ce6d23..2519ada1842a7d41177899a74b17503d0fed4787 100644 (file)
@@ -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@