From ca28b5b5cb281f5e4cb7b65f3f6337ccae0ab3a4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 22 Feb 2004 15:59:08 +0000 Subject: [PATCH] autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable. Original commit message from CVS: 2004-02-22 Benjamin Otte reported by: Padraig O'Briain * autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable. (fixes #134816) --- ChangeLog | 8 ++++++++ autogen.sh | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d35fe370dc..d1d1e2a8b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-02-22 Benjamin Otte + + reported by: Padraig O'Briain + + * autogen.sh: + replace test -e with test -x for mkinstalldirs to be more portable. + (fixes #134816) + 2004-02-22 Benjamin Otte reported by: Stefan Kost diff --git a/autogen.sh b/autogen.sh index 95bf860d11..aef6baacff 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