From 063f27f0a114c0fc67a70073e04fe5dcc16ff2e6 Mon Sep 17 00:00:00 2001 From: Frederic Devernay Date: Tue, 8 Dec 1998 14:04:45 +0000 Subject: test -e is broken in Solaris /bin/sh, use test -r instead svn path=/trunk/; revision=511 --- macros/autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macros/autogen.sh') diff --git a/macros/autogen.sh b/macros/autogen.sh index e77b3db202..c802b64313 100644 --- a/macros/autogen.sh +++ b/macros/autogen.sh @@ -71,7 +71,7 @@ esac for coin in `find $srcdir -name configure.in -print` do dr=`dirname $coin` - if test -f $i/NO-AUTO-GEN; then + if test -f $coin/NO-AUTO-GEN; then echo skipping $dr -- flagged as no auto-gen else echo processing $dr @@ -90,11 +90,11 @@ do : do nothing -- we still have an old unmodified configure.in else echo "Creating $d4/aclocal.m4 ..." - test -e $dr/aclocal.m4 || touch $dr/aclocal.m4 + test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 echo "Running gettextize... Ignore non-fatal messages." echo "no" | gettextize --force --copy echo "Making $dr/aclocal.m4 writable ..." - test -e $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 + test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then -- cgit