]>
git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/is_text.sh
3 ###############################################################################
5 # Purpose: returns 0 if the file in cvs tree is text, 1 if binary
9 # Copyright: (c) Vadim Zeitlin 2006 <vadim@wxwindows.org>
10 ###############################################################################
13 echo "Usage: $0 <file>" >&2
17 # don't do configure; config.sub; config.guess
18 if [ `basename $1` = "configure" ] ; then
21 if [ `basename $1` = "config.sub" ] ; then
24 if [ `basename $1` = "config.guess" ] ; then
28 if svn proplist
$1 | grep -q "eol-style" ; then
32 #either not a svn file or not one with eol-style