From 948ddccfab1b078a0604924125a09fd31498f6fa Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Wed, 13 Dec 2006 09:46:20 +0000 Subject: [PATCH] avoid configure, etc being in DOS format git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/scripts/is_text.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/distrib/scripts/is_text.sh b/distrib/scripts/is_text.sh index acde39fecd..f8df271f56 100755 --- a/distrib/scripts/is_text.sh +++ b/distrib/scripts/is_text.sh @@ -14,6 +14,17 @@ if [ $# != 1 ]; then exit 2 fi +# don't do configure; config.sub; config.guess +if [ `basename $1` = "configure" ] ; then + exit 1 +fi +if [ `basename $1` = "config.sub" ] ; then + exit 1 +fi +if [ `basename $1` = "config.guess" ] ; then + exit 1 +fi + entries=`dirname $1`/CVS/Entries if [ ! -f $entries ]; then echo "CVS entries file \"$entries\" not found." >&2