Delete unnecessary files when done

.repo is preserved to avoid hitting the server hard the next time
the script is run.

device/htc/common is preserved to be able to re-launch the script

Change-Id: I336e42df3bcd80e621f45d347a2484fac348279f
diff --git a/generate-blob-scripts.sh b/generate-blob-scripts.sh
index 5a193b9..0e94a2d 100755
--- a/generate-blob-scripts.sh
+++ b/generate-blob-scripts.sh
@@ -71,7 +71,6 @@
     cut -b 15- |
     sort > $ARCHIVEDIR/$DEVICENAME-without.txt
 done
-rm -rf out
 
 for DEVICENAME in $DEVICES
 do
@@ -204,3 +203,10 @@
 
 done
 
+echo * device/* device/htc/* |
+  tr \  \\n |
+  grep -v ^archive- |
+  grep -v ^device$ |
+  grep -v ^device/htc$ |
+  grep -v ^device/htc/common$ |
+  xargs rm -rf