1.0.40.8: revert sb-bsd-sockets threadsafety patch
[sbcl.git] / clean.sh
index 47f509c..5241a76 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 \