Moving to new approach that uses CVS entries to determine text/binary state of file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-07-18 00:50:06 +00:00
parent ca1863c2cc
commit 37ab190fbf
2 changed files with 19 additions and 19 deletions

18
distrib/scripts/is_text.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
if [ $# != 1 ]; then
echo "Usage: $0 <file>" >&2
exit 2
fi
entries=`dirname $1`/CVS/Entries
if [ ! -f $entries ]; then
echo "CVS entries file \"$entries\" not found." >&2
exit 3
fi
re="^/`basename $1`/.*/-kb/\$"
if grep -q "$re" $entries; then
exit 1
fi
exit 0