summaryrefslogtreecommitdiff
path: root/scripts/sstate-cache-management.sh
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-09-02 13:13:19 +0200
committerSaul Wold <sgw@linux.intel.com>2012-09-03 22:52:55 -0700
commitceeefd964026e11ce0bb3b0285dbf9917533ae5e (patch)
tree776db930e3653cbf8f0aac511d06fb6ea7493dc9 /scripts/sstate-cache-management.sh
parentef1044da4b30b9a1264a7c83727a722a4b0b60cc (diff)
downloadopenembedded-core-ceeefd964026e11ce0bb3b0285dbf9917533ae5e.tar.gz
openembedded-core-ceeefd964026e11ce0bb3b0285dbf9917533ae5e.tar.bz2
openembedded-core-ceeefd964026e11ce0bb3b0285dbf9917533ae5e.zip
sstate-cache-management.sh: fix regexp in AVAILTUNES grep
* it was also picking line openembedded-core/meta/conf/machine/include/README:AVAILTUNES - This is a list of all of the tuning definitions currently filling all_archs with wrong entries 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 2b3100cfe1..0f774a3f4e 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -167,7 +167,7 @@ remove_duplicated () {
topdir=$(dirname $(dirname $(readlink -e $0)))
tunedirs="`find $topdir/meta* $layers -path '*/meta*/conf/machine/include'`"
[ -n "$tunedirs" ] || echo_error "Can't find the tune directory"
- all_archs=`grep -r -h "^AVAILTUNES " $tunedirs | sed -e 's/.*=//' -e 's/\"//g'`
+ all_archs=`grep -r -h "^AVAILTUNES .*=" $tunedirs | sed -e 's/.*=//' -e 's/\"//g'`
# Add the qemu and native archs
# Use the "_" to substitute "-", e.g., x86-64 to x86_64
# Sort to remove the duplicated ones