Fix machine guessing sed

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1159 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2007-01-17 16:19:27 +00:00
parent e1140fb8f9
commit 3408e51a6e
1 changed files with 1 additions and 1 deletions

View File

@ -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`