first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / rev_control / fix_svn_binaries.sh
1 #!/bin/bash
2 # this script spiders across the first argument and locates any files that
3 # should be set up as binaries.  it removes the most likely wrong tags that
4 # these files have after conversion from cvs (using cvs2svn).
5 # we remove the executable bit because there are really very few files where
6 # we want this enabled in the source tree.
7 for i in `find $1 -type f -iname "*.a" \
8   -o -iname "*.ansi" -o -iname "*.bat" -o -iname "*.bmp" \
9   -o -iname "*.cur" -o -iname "*.dbc" -o -iname "*.dbf" \
10   -o -iname "*.doc" -o -iname "*.dll" -o -iname "*.exe" \
11   -o -iname "*.exp" -o -iname "*.gif" \
12   -o -iname "*.gnucash" -o -iname "*.ico" -o -iname "*.jar" \
13   -o -iname "*.jpg" -o -iname "*.lib" -o -iname "*.manifest" \
14   -o -iname "*.mp3" \
15   -o -iname "*.msi" -o -iname "*.ocx" -o -iname "*.pdf" \
16   -o -iname "*.pm5" -o -iname "*.png" -o -iname "*.rtf" \
17   -o -iname "*.wav" -o -iname "*.wri" -o -iname "*.vsd" \
18   -o -iname "*.xcf" -o -iname "*.xls" -o -iname "*.zip" \
19   `; do
20   bash $SHELLDIR/svn_set_binary.sh "$i"
21 done
22