[oe-commits] Martin Jansa : sstate-cache-management.sh: fix regexp in AVAILTUNES grep
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 4 11:51:10 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: ceeefd964026e11ce0bb3b0285dbf9917533ae5e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ceeefd964026e11ce0bb3b0285dbf9917533ae5e
Author: Martin Jansa <martin.jansa at gmail.com>
Date: Sun Sep 2 13:13:19 2012 +0200
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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
scripts/sstate-cache-management.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 2b3100c..0f774a3 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
More information about the Openembedded-commits
mailing list