summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-02-22 15:55:29 +0000
committerBenjamin Otte <otte@gnome.org>2004-02-22 15:55:29 +0000
commitbf08b9f3d17003d3fe25b058cdd048b4d41ccf88 (patch)
tree166e91afbc533a67e0782d241c7bdb5fe30014af /autogen.sh
parent5a34cd92ed351898381d01f4ee189dc754846876 (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)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 9a861cfc22..9e500e8fa2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -61,7 +61,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