diff options
Diffstat (limited to 'scripts/php-clean')
-rw-r--r-- | scripts/php-clean | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/php-clean b/scripts/php-clean index 5dc306a61..39209cf97 100644 --- a/scripts/php-clean +++ b/scripts/php-clean @@ -1,4 +1,5 @@ #!/bin/sh -find . -name "*~" | xargs rm -f -find . -name "DEADJOE" | xargs rm -f -find . -name "*" -type f | xargs perl -wi -pe 's/\s+$/\n/' +find . -name "*~" -type f | xargs rm -f +find . -name "DEADJOE" -type f | xargs rm -f +find . -name "*" -type f | grep -v ".gif" | grep -v ".jpg" | xargs perl -wi -pe 's/\s+$/\n/' +find . -name "*" -type f | grep -v ".gif" | grep -v ".jpg" | xargs perl -wi -pe 's/\t/ /g' |