diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-09-02 13:13:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:53:09 +0100 |
commit | 0b43a85154e38108dc633ca14b70d36944f5726b (patch) | |
tree | c1549db60d6abe862ec3c566d236b60948ba30d9 | |
parent | c2a76d7b107cfc8768115af91efaf762080ee947 (diff) | |
download | poky-0b43a85154e38108dc633ca14b70d36944f5726b.tar.gz |
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
(From OE-Core rev: ceeefd964026e11ce0bb3b0285dbf9917533ae5e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | 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 2b3100cfe1..0f774a3f4e 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
@@ -167,7 +167,7 @@ remove_duplicated () { | |||
167 | topdir=$(dirname $(dirname $(readlink -e $0))) | 167 | topdir=$(dirname $(dirname $(readlink -e $0))) |
168 | tunedirs="`find $topdir/meta* $layers -path '*/meta*/conf/machine/include'`" | 168 | tunedirs="`find $topdir/meta* $layers -path '*/meta*/conf/machine/include'`" |
169 | [ -n "$tunedirs" ] || echo_error "Can't find the tune directory" | 169 | [ -n "$tunedirs" ] || echo_error "Can't find the tune directory" |
170 | all_archs=`grep -r -h "^AVAILTUNES " $tunedirs | sed -e 's/.*=//' -e 's/\"//g'` | 170 | all_archs=`grep -r -h "^AVAILTUNES .*=" $tunedirs | sed -e 's/.*=//' -e 's/\"//g'` |
171 | # Add the qemu and native archs | 171 | # Add the qemu and native archs |
172 | # Use the "_" to substitute "-", e.g., x86-64 to x86_64 | 172 | # Use the "_" to substitute "-", e.g., x86-64 to x86_64 |
173 | # Sort to remove the duplicated ones | 173 | # Sort to remove the duplicated ones |