summaryrefslogtreecommitdiff
path: root/tools/dev/remove-trailing-whitespace.sh
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
commitcf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch)
treeda27775a2161723ef342e91af41a8b51fedef405 /tools/dev/remove-trailing-whitespace.sh
parentbb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff)
downloadsubversion-tarball-master.tar.gz
Diffstat (limited to 'tools/dev/remove-trailing-whitespace.sh')
-rwxr-xr-xtools/dev/remove-trailing-whitespace.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dev/remove-trailing-whitespace.sh b/tools/dev/remove-trailing-whitespace.sh
index 440dfaa..1dbde0c 100755
--- a/tools/dev/remove-trailing-whitespace.sh
+++ b/tools/dev/remove-trailing-whitespace.sh
@@ -17,8 +17,8 @@
# specific language governing permissions and limitations
# under the License.
- for ext in c h cpp java py pl rb hpp cmd bat; do
- find . -name "*.$ext" -exec \
+ for ext in c h cpp java py pl rb hpp cmd bat sql sh; do
+ find . -name "*.$ext" -not -type l -exec \
perl -pi -e 's/[ \t]*$//' {} + ;
- # don't use \t to not strip ^L pagebreaks
- done
+ # don't use \s to not strip ^L pagebreaks
+ done