scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Nov 2012 20:20:48 +0000 (20:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2012 15:12:27 +0000 (15:12 +0000)
(From OE-Core rev: 8df3350d107322380582c807ccc92ea353b543ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/sstate-cache-management.sh

index 551d2f2..7d81daf 100755 (executable)
@@ -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`