summaryrefslogtreecommitdiff
path: root/scripts/code-clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/code-clean.sh')
-rw-r--r--scripts/code-clean.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/code-clean.sh b/scripts/code-clean.sh
index ea8a7c3f5..e5e4b9726 100644
--- a/scripts/code-clean.sh
+++ b/scripts/code-clean.sh
@@ -1,5 +1,7 @@
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
+find . -name "*.rej" -type f | xargs rm -f
+find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -name "*" -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | xargs perl -wi -pe 's/\s+$/\n/'
find . -name "*" -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | xargs perl -wi -pe 's/\t/ /g'