From 392b9a6fbaebfe249b96f865c81f56c0b33753b0 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Thu, 5 Jul 2007 17:02:58 +0000 Subject: [PATCH] replace cvsentries git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/scripts/is_text.sh | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/distrib/scripts/is_text.sh b/distrib/scripts/is_text.sh index f8df271f56..9e95109aec 100755 --- a/distrib/scripts/is_text.sh +++ b/distrib/scripts/is_text.sh @@ -25,16 +25,9 @@ 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 -fi +if svn proplist $1 | grep -q "eol-style" ; then + exit 0 +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 - exit 1 -fi - -exit 0 +#either not a svn file or not one with eol-style +exit 3