scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change

(From OE-Core rev: 8df3350d107322380582c807ccc92ea353b543ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-11-23 20:20:48 +00:00
parent 0c46dad46b
commit 56e3fcc387
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ rm_by_stamps (){
for i in $suffixes; do
# There is no "\.sigdata" but "_setcene" when it is mirrored
# from the SSTATE_MIRRORS, use them to figure out the sum.
sums=`find $stamps -maxdepth 2 -name "*.do_$i.*" \
sums=`find $stamps -maxdepth 3 -name "*.do_$i.*" \
-o -name "*.do_${i}_setscene.*" | \
sed -ne 's#.*_setscene\.##p' -e 's#.*\.sigdata\.##p' | \
sed -e 's#\..*##' | sort -u`