summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-02-22 15:59:08 +0000
committerBenjamin Otte <otte@gnome.org>2004-02-22 15:59:08 +0000
commitca28b5b5cb281f5e4cb7b65f3f6337ccae0ab3a4 (patch)
tree79c19d174c3ec891c154022eccdbaddac17be00f
parent355318b59d0e75866d1c87de659c0d30864b44c9 (diff)
autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable.
Original commit message from CVS: 2004-02-22 Benjamin Otte <otte@gnome.org> reported by: Padraig O'Briain <padraig.obriain@sun.com> * autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable. (fixes #134816)
-rw-r--r--ChangeLog8
-rwxr-xr-xautogen.sh2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d35fe370d..d1d1e2a8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2004-02-22 Benjamin Otte <otte@gnome.org>
+ reported by: Padraig O'Briain <padraig.obriain@sun.com>
+
+ * autogen.sh:
+ replace test -e with test -x for mkinstalldirs to be more portable.
+ (fixes #134816)
+
+2004-02-22 Benjamin Otte <otte@gnome.org>
+
reported by: Stefan Kost <kost@imn.htwk-leipzig.de>
* gst/audioconvert/gstaudioconvert.c: (plugin_init):
diff --git a/autogen.sh b/autogen.sh
index 95bf860d1..aef6baacf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -63,7 +63,7 @@ toplevel_check $srcfile
# autopoint
# older autopoint (< 0.12) has a tendency to complain about mkinstalldirs
-if test -e mkinstalldirs; then rm mkinstalldirs; fi
+if test -x mkinstalldirs; then rm mkinstalldirs; fi
# first remove patch if necessary, then run autopoint, then reapply
if test -f po/Makefile.in.in;
then