aboutsummaryrefslogtreecommitdiffstats
path: root/fixsvnprops.sh
diff options
context:
space:
mode:
authorMaximilian Berger <maxberger@apache.org>2009-09-15 16:15:11 +0000
committerMaximilian Berger <maxberger@apache.org>2009-09-15 16:15:11 +0000
commit50e993d6d42fd4fc67316d619cc63cc4027c3e92 (patch)
tree7507ae4a0697e93e1893e37b3b993d4748e058af /fixsvnprops.sh
parent482b874cecd6ca20609da6a175fe435ffabe3c46 (diff)
downloadxmlgraphics-fop-50e993d6d42fd4fc67316d619cc63cc4027c3e92.tar.gz
xmlgraphics-fop-50e993d6d42fd4fc67316d619cc63cc4027c3e92.zip
Fixed SVN Props
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fixsvnprops.sh')
-rwxr-xr-xfixsvnprops.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/fixsvnprops.sh b/fixsvnprops.sh
index c5688a238..72a3efacb 100755
--- a/fixsvnprops.sh
+++ b/fixsvnprops.sh
@@ -1,7 +1,14 @@
-#!/bin/sh
+#!/bin/bash
-find . -name \*.java -exec svn ps svn:keywords "Id" '{}' \;
-find . -name \*.xml -exec svn ps svn:keywords "Revision Id" '{}' \;
+for i in $(find . -name \*.java)
+do
+ svn pg svn:keywords $i | grep Id > /dev/null || svn ps svn:keywords "Id" $i
+done
+
+for i in $(find . -name \*.xml)
+do
+ svn pg svn:keywords $i | grep "Revision Id" > /dev/null || svn ps svn:keywords "Revision Id" $i
+done
find . -name \*.java -exec svn ps svn:eol-style native '{}' \;
find . -name \*.xml -exec svn ps svn:eol-style native '{}' \;