From: Bruno Haible Date: Tue, 15 May 2001 18:55:34 +0000 (+0000) Subject: Solaris portability. X-Git-Tag: v0.11~726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b78bdfa8f68030c2d4262fae3ad9d90dd52c416;p=thirdparty%2Fgettext.git Solaris portability. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 22c760933..d4e4b5201 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-12 Paul Eggert + + * 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 * gettextize.in: Tell the user about glibc21.m4. diff --git a/misc/gettextize.in b/misc/gettextize.in index 3f3192b14..19731c0ea 100644 --- a/misc/gettextize.in +++ b/misc/gettextize.in @@ -177,12 +177,12 @@ $DATE gettextize * 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 diff --git a/tests/ChangeLog b/tests/ChangeLog index 91e0ba71c..3ec612635 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2001-05-15 Bruno Haible + + * msgcomm-15: Use "test -f", not "test -e". For Solaris. + 2001-05-02 Bruno Haible * msgcomm-16: Change expected result. diff --git a/tests/msgcomm-15 b/tests/msgcomm-15 index 826469e22..7be327550 100755 --- a/tests/msgcomm-15 +++ b/tests/msgcomm-15 @@ -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