]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/is_text.sh
Fixed version of unix2dos conversion.
[wxWidgets.git] / distrib / scripts / is_text.sh
1 #!/bin/sh
2 if [ $# != 1 ]; then
3 echo "Usage: $0 <file>" >&2
4 exit 2
5 fi
6
7 entries=`dirname $1`/CVS/Entries
8 if [ ! -f $entries ]; then
9 echo "CVS entries file \"$entries\" not found." >&2
10 exit 3
11 fi
12
13 re="^/`basename $1`/.*/-kb/\$"
14 if grep -q "$re" $entries; then
15 exit 1
16 fi
17
18 exit 0