]> git.saurik.com Git - wxWidgets.git/commitdiff
avoid configure, etc being in DOS format
authorChris Elliott <biol75@york.ac.uk>
Wed, 13 Dec 2006 09:46:20 +0000 (09:46 +0000)
committerChris Elliott <biol75@york.ac.uk>
Wed, 13 Dec 2006 09:46:20 +0000 (09:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/scripts/is_text.sh

index acde39fecdc8d4eb11a97fb8cd92b00d22af6503..f8df271f565a2cf73df02fff3b60b260c486aee8 100755 (executable)
@@ -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