mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-23 06:05:46 +00:00
479ffbba4a
Remove $Cryb$ tags as it is likely that the code will move to git.
23 lines
466 B
Bash
Executable file
23 lines
466 B
Bash
Executable file
#!/bin/sh
|
|
|
|
istext() {
|
|
local mimetype=$(svn propget svn:mime-type "$1" 2>/dev/null)
|
|
[ -z "$mimetype" ] || expr "$mimetype" : '^text/.' >/dev/null
|
|
}
|
|
|
|
(svn list -R ; svn stat | awk '$1 == "A" { print $2 }') | sort -u |
|
|
while read f ; do
|
|
[ -f "$f" ] || continue
|
|
istext "$f" || continue
|
|
case $f in
|
|
*rsaref*.[ch])
|
|
;;
|
|
*.sh|*.pl)
|
|
svn propset svn:executable \* $f
|
|
;&
|
|
*)
|
|
svn propset eol-style native $f
|
|
#svn propset svn:keywords "Cryb=%H" $f
|
|
;;
|
|
esac
|
|
done
|