Fix removal of unneeded files 41/6841/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 20 Oct 2016 16:07:10 +0000 (18:07 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 20 Oct 2016 16:07:10 +0000 (18:07 +0200)
Change-Id: Ifd105122f6634bb841f8674441c38b36c89e2119
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/pre-fetch/include-prefetch.sh

index dd30247..2d58908 100644 (file)
@@ -43,7 +43,8 @@ done
 
 pushd ../mirror
 rm -f *.done
-find . -type d -delete
+find .  -maxdepth 1 -type d | grep -v uninative | xargs rm -rf
+rm -f *bad-checksum*
 ls -alh
 popd