summaryrefslogtreecommitdiff
path: root/scripts/php-clean
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/php-clean')
-rw-r--r--scripts/php-clean4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/php-clean b/scripts/php-clean
index 998f0f08d..5dc306a61 100644
--- a/scripts/php-clean
+++ b/scripts/php-clean
@@ -1,4 +1,4 @@
#!/bin/sh
-
-find . -name "*~" | xargs rm -f
+find . -name "*~" | xargs rm -f
find . -name "DEADJOE" | xargs rm -f
+find . -name "*" -type f | xargs perl -wi -pe 's/\s+$/\n/'