source: branches/version-2_5-dev/svn_propset.sh @ 20116

Revision 20116, 434 bytes checked in by nanasess, 12 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Id
Line 
1#!/bin/sh
2
3while read PROP
4do
5svn propdel -R $PROP ./
6done <<EOF
7svn:keywords
8svn:executable
9svn:mime-type
10svn:eol-style
11EOF
12
13svn propset -R 'svn:keywords' 'Id' ./
14svn propset -R 'svn:executable' *.sh
15svn propset -R 'svn:eol-style' 'LF' ./
16find . -name '*.php' | xargs svn propset -R 'svn:mime-type' 'text/x-httpd-php; charset=UTF-8'
17find . -name '*.tpl' | xargs svn propset -R 'svn:mime-type' 'text/x-smarty-template; charset=UTF-8'
Note: See TracBrowser for help on using the repository browser.