Browse Source

sstate-cache-management.sh: fix regexp in checksum grep

* using checksum without recipe/task name doesn't seem like good idea IMHO

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Martin Jansa 11 years ago
parent
commit
ef1044da4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/sstate-cache-management.sh

+ 1 - 1
scripts/sstate-cache-management.sh

@@ -292,7 +292,7 @@ rm_by_stamps (){
 
   echo -n "Figuring out the files which will be removed ... "
   for i in $all_sums; do
-      grep ".*-${i}_*" $cache_list >>$keep_list
+      grep ".*-${i}_.*" $cache_list >>$keep_list
   done
   echo "Done"