]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Solaris portability.
authorBruno Haible <bruno@clisp.org>
Tue, 15 May 2001 18:55:34 +0000 (18:55 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 15 May 2001 18:55:34 +0000 (18:55 +0000)
misc/ChangeLog
misc/gettextize.in
tests/ChangeLog
tests/msgcomm-15

index 22c7609330502f332cafd1ba062191a0aa08d649..d4e4b5201e6d959d78b8e27c7ce466dd823db1db 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-12  Paul Eggert  <eggert@twinsun.com>
+
+       * misc/gettextize.in: Replace "test -e" with "test -f", since the
+       'test' builtin of Solaris 8 /bin/sh doesn't grok "test -e".
+
 2001-05-11  Bruno Haible  <haible@clisp.cons.org>
 
        * gettextize.in: Tell the user about glibc21.m4.
index 3f3192b147ac725a1dfbb02b8ce6478bd9b059f0..19731c0ea8aac781cc5aa03537325ceb726a2c06 100644 (file)
@@ -177,12 +177,12 @@ $DATE  gettextize  <bug-gnu-utils@gnu.org>
 
        * Makefile.in.in: Upgrade to gettext-${version}.
 EOF
-if test -e $srcdir/po/cat-id-tbl.c; then
+if test -f $srcdir/po/cat-id-tbl.c; then
   $echo "Removing po/cat-id-tbl.c"
   rm -f $srcdir/po/cat-id-tbl.c
   $echo "      * cat-id-tbl.c: Remove file." >> $srcdir/po/ChangeLog.tmp
 fi
-if test -e $srcdir/po/stamp-cat-id; then
+if test -f $srcdir/po/stamp-cat-id; then
   $echo "Removing po/stamp-cat-id"
   rm -f $srcdir/po/stamp-cat-id
   $echo "      * stamp-cat-id: Remove file." >> $srcdir/po/ChangeLog.tmp
index 91e0ba71c21547b952178cd356a238097d549c34..3ec612635bf6e4c23035d378f960c0638bf17dff 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-15  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgcomm-15: Use "test -f", not "test -e". For Solaris.
+
 2001-05-02  Bruno Haible  <haible@clisp.cons.org>
 
        * msgcomm-16: Change expected result.
index 826469e22a90482bf5677938da01d58b386daad2..7be327550802c8ed21bb4acc830cc43fa43f7742 100755 (executable)
@@ -73,7 +73,7 @@ ${MSGCOMM} --less-than=2 --no-location -o mcomm-test15.out \
     mcomm-test15.in1 mcomm-test15.in2 mcomm-test15.in3
 
 # we've no unique msg; thus no PO should be created.
-if test -e mcomm-test15.out; then
+if test -f mcomm-test15.out; then
   echo "mcomm-test15.out wrongly written."
   result=1
 else