]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make it work with Solaris sh.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Sep 2003 10:36:52 +0000 (10:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:58 +0000 (12:10 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/lang-sh

index 985e6e17a5a056c5dd9a6679426aa1ed85138112..81da08cfa1fa90b19d1889e9f945a5f948c8dff6 100644 (file)
@@ -1,5 +1,6 @@
 2003-09-08  Bruno Haible  <bruno@clisp.org>
 
+       * lang-sh: Avoid test failure with Solaris /bin/sh.
        * lang-bash: Avoid test failure when bash is built without i18n
        support.
 
index f1382793947c4fa8a6bfbaca6f1dd40d5b1a005e..dd03d9415916abf724e97269ef7037a884569f57 100755 (executable)
@@ -46,9 +46,9 @@ eval_ngettext () {
   $echo "$_string"
 }
 
-$echo "`gettext "'Your command, please?', asked the waiter."`"
+$echo "`gettext \"'Your command, please?', asked the waiter.\"`"
 
-$echo "`eval_ngettext "a piece of cake" "\\$n pieces of cake" $n`"
+$echo "`eval_ngettext \"a piece of cake\" \"\\$n pieces of cake\" $n`"
 EOF
 
 tmpfiles="$tmpfiles prog.pot"