diff options
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 | |||
37 | fi | 37 | fi |
38 | 38 | ||
39 | if [ "x$MACHINE" = "x" ]; then | 39 | if [ "x$MACHINE" = "x" ]; then |
40 | MACHINE=`basename $ZIMAGE | sed -e 's#.*-\([a-z]*\)-*[0-9]*..*#\1#'` | 40 | MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+)-?[0-9]*..*#\1#'` |
41 | fi | 41 | fi |
42 | 42 | ||
43 | INTERNAL_SCRIPT=`which poky-qemu-internal` | 43 | INTERNAL_SCRIPT=`which poky-qemu-internal` |