summaryrefslogtreecommitdiff
path: root/scripts/sstate-cache-management.sh
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-09-02 13:13:18 +0200
committerSaul Wold <sgw@linux.intel.com>2012-09-03 22:52:55 -0700
commitef1044da4b30b9a1264a7c83727a722a4b0b60cc (patch)
tree09b540038bc9aa6a95225437bac986721d03c4c2 /scripts/sstate-cache-management.sh
parent128030fc09e56170dfeba75a000bbc17897c8123 (diff)
downloadopenembedded-core-ef1044da4b30b9a1264a7c83727a722a4b0b60cc.tar.gz
openembedded-core-ef1044da4b30b9a1264a7c83727a722a4b0b60cc.tar.bz2
openembedded-core-ef1044da4b30b9a1264a7c83727a722a4b0b60cc.zip
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>
Diffstat (limited to 'scripts/sstate-cache-management.sh')
-rwxr-xr-xscripts/sstate-cache-management.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index a1f7c8973d..2b3100cfe1 100755
--- a/scripts/sstate-cache-management.sh
+++ b/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"