summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/set_svn_properties.sh23
1 files changed, 20 insertions, 3 deletions
diff --git a/bin/set_svn_properties.sh b/bin/set_svn_properties.sh
index 4ce8895705..6b418d8532 100755
--- a/bin/set_svn_properties.sh
+++ b/bin/set_svn_properties.sh
@@ -1,7 +1,24 @@
-
-# this script will set the proper svn properties on all the files in the tree
+#
+#
+# Copyright (c) 2006 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This script will set the proper svn properties on all the files in the tree.
# It pretty much requires a gnu compatible xargs (for the -r flag). Running
-# on Linux is probably the best option
+# on Linux is probably the best option, or gnuxargs is available for OS X from
+# darwinports.
find . -name "*.java" | grep -v ".svn" | xargs -n 1 -r svn propset svn:eol-style native