X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/948ddccfab1b078a0604924125a09fd31498f6fa..2bed17c862db626a40bfb981cb8d2bfed17b2737:/distrib/scripts/is_text.sh diff --git a/distrib/scripts/is_text.sh b/distrib/scripts/is_text.sh index f8df271f56..0a35664f1e 100755 --- a/distrib/scripts/is_text.sh +++ b/distrib/scripts/is_text.sh @@ -25,16 +25,18 @@ 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 - exit 3 +# ignore makefile.wat etc +if [ `basename $1` = "makefile.wat" ] ; then + exit 1 fi - -# we look for -kb in the last field, optionally followed by tag name -re="^/`basename $1`/.*/-kb/\(T[^/]*\)\{0,1\}$" -if grep -q "$re" $entries; then +if [ `basename $1` = "config.wat" ] ; then exit 1 fi -exit 0 + +if svn proplist $1 | grep -q "eol-style" ; then + exit 0 +fi + +#either not a svn file or not one with eol-style +exit 3