diff options
Diffstat (limited to 'scripts/poky-qemu')
-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 e3693fe16..caac03c25 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` |