aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Devernay <devernay@src.gnome.org>1998-12-08 22:04:45 +0800
committerFrederic Devernay <devernay@src.gnome.org>1998-12-08 22:04:45 +0800
commit063f27f0a114c0fc67a70073e04fe5dcc16ff2e6 (patch)
treed76753dad3aa497abedf89e15ded67b0c53dca45
parente6a7852227d30c4bbb24b96768e979a9464331b0 (diff)
downloadgsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar.gz
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar.bz2
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar.lz
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar.xz
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.tar.zst
gsoc2013-evolution-063f27f0a114c0fc67a70073e04fe5dcc16ff2e6.zip
test -e is broken in Solaris /bin/sh, use test -r instead
svn path=/trunk/; revision=511
-rw-r--r--macros/autogen.sh6
1 files changed, 3 insertions, 3 deletions
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