diff options
author | Frederic Devernay <devernay@src.gnome.org> | 1998-12-08 14:04:45 +0000 |
---|---|---|
committer | Frederic Devernay <devernay@src.gnome.org> | 1998-12-08 14:04:45 +0000 |
commit | 570a0e7fafbe5c87aaefb8fbb9cdbfe5742f9013 (patch) | |
tree | ffe2df5166981111e04b8b6e013b96b3511a230f | |
parent | 7d1c227d9f47a1ed1d3a080c83003c309cd12b0b (diff) | |
download | gnome-common-570a0e7fafbe5c87aaefb8fbb9cdbfe5742f9013.tar.gz |
test -e is broken in Solaris /bin/sh, use test -r instead
svn path=/trunk/; revision=511
-rw-r--r-- | macros/autogen.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh index e77b3db..c802b64 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 |