You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/05/28 15:02:15 UTC
svn commit: r779588 - in /incubator/etch/trunk/scripts: checkeol.sh
checksvn.sh
Author: sccomer
Date: Thu May 28 13:02:14 2009
New Revision: 779588
URL: http://svn.apache.org/viewvc?rev=779588&view=rev
Log:
fix for ETCH-74: repair license header in scripts
Modified:
incubator/etch/trunk/scripts/checkeol.sh
incubator/etch/trunk/scripts/checksvn.sh
Modified: incubator/etch/trunk/scripts/checkeol.sh
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/checkeol.sh?rev=779588&r1=779587&r2=779588&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/checkeol.sh (original)
+++ incubator/etch/trunk/scripts/checkeol.sh Thu May 28 13:02:14 2009
@@ -1,4 +1,22 @@
#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
+# Script to check for native eol setting in subversion
eol=`svn pg svn:eol-style $1`
if [ $? -ne 0 ]; then
Modified: incubator/etch/trunk/scripts/checksvn.sh
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/scripts/checksvn.sh?rev=779588&r1=779587&r2=779588&view=diff
==============================================================================
--- incubator/etch/trunk/scripts/checksvn.sh (original)
+++ incubator/etch/trunk/scripts/checksvn.sh Thu May 28 13:02:14 2009
@@ -1,4 +1,22 @@
#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
+# Script to check subversion settings for known file types.
ufind . \( -name .svn -prune \) -o \( -type f -name \*.java \! -exec sh scripts/checkeol.sh \{} \; -print \)
ufind . \( -name .svn -prune \) -o \( -type f -name \*.cs \! -exec sh scripts/checkeol.sh \{} \; -print \)