summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-23 20:20:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-24 15:12:04 +0000
commit8df3350d107322380582c807ccc92ea353b543ab (patch)
treea8eb50df02c5f6ab6d8b548539681ab69394bd70 /scripts
parentd967a498cb464c3858dc280db5e67b7e7b281b02 (diff)
downloadopenembedded-core-8df3350d107322380582c807ccc92ea353b543ab.tar.gz
openembedded-core-8df3350d107322380582c807ccc92ea353b543ab.tar.bz2
openembedded-core-8df3350d107322380582c807ccc92ea353b543ab.zip
scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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 551d2f267d..7d81daf9eb 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -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`