diff options
author | Ross Burton <ross@openedhand.com> | 2007-01-17 16:19:27 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-01-17 16:19:27 +0000 |
commit | 3408e51a6eb769a3fc48a9cda14308f3a1fed996 (patch) | |
tree | ecd32f391527f3cdc0f138a90966131083b98c5b /scripts | |
parent | e1140fb8f9c4c4c29917bab48af25095e0205348 (diff) | |
download | openembedded-core-3408e51a6eb769a3fc48a9cda14308f3a1fed996.tar.gz openembedded-core-3408e51a6eb769a3fc48a9cda14308f3a1fed996.tar.bz2 openembedded-core-3408e51a6eb769a3fc48a9cda14308f3a1fed996.zip |
Fix machine guessing sed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1159 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-qemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu index e3693fe16d..caac03c254 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu @@ -37,7 +37,7 @@ else fi if [ "x$MACHINE" = "x" ]; then - MACHINE=`basename $ZIMAGE | sed -e 's#.*-\([a-z]*\)-*[0-9]*..*#\1#'` + MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+)-?[0-9]*..*#\1#'` fi INTERNAL_SCRIPT=`which poky-qemu-internal` |