Fix make-array transforms.
[sbcl.git] / clean.sh
index cf16472..e56d79f 100755 (executable)
--- a/clean.sh
+++ b/clean.sh
@@ -30,7 +30,7 @@ for d in tools-for-build; do
     # is misleading when this script does lotso other operations too.
     # -- WHN
     $GNUMAKE -I ../src/runtime -s clean
-    cd $original_pwd > /dev/null
+    cd "$original_pwd" > /dev/null
 done
 ( cd ./doc ; sh ./clean.sh )
 
@@ -77,6 +77,7 @@ find . \( \
         -name '{arch}' -o \
         -name CVS -o \
         -name .hg -o \
+        -name .git -o \
         -name .svn \) -type d -prune -o \
        \( \
         -type l -o \
@@ -104,6 +105,12 @@ find . \( \
         -name '*.o' -o \
         -name '*.so' -o \
         -name '*.d' -o \
+        -name 'foo.c' -o \
+        -name 'test-output' -o \
+        -name 'test-lab' -o \
+        -name 'encodings.texi-temp' -o \
+        -name 'stack-alignment-offset' -o \
+        -name 'test-status.lisp-expr' -o \
         -name 'a.out' -o \
         -name 'sbcl' -o \
         -name 'sbcl.h' -o \
@@ -111,4 +118,5 @@ find . \( \
         -name 'TAGS' -o \
         -name 'tags' -o \
         -name 'test-passed' -o \
-        -name 'local-target-features.lisp-expr' \) -print | xargs rm -f
+        -name 'ldso-stubs.S' -o \
+        -name 'local-target-features.lisp-expr' \) -print | xargs rm -fr