We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00dfff1 commit c22c6b0Copy full SHA for c22c6b0
os/scripts/qemu-ver-check.sh
100644
100755
@@ -13,7 +13,7 @@ then
13
exit 1
14
else
15
QEMU_VERSION=$($1 --version|head -n 1|awk '{print $4}')
16
- MAJOR_VERSION=$(echo $QEMU_VERSION|cut -c1-1)
+ MAJOR_VERSION=$(echo $QEMU_VERSION | awk -F '.' '{print $1}')
17
if [ $MAJOR_VERSION -lt $MINIMUM_MAJOR_VERSION ]
18
then
19
echo "${RED}Error: Required major version of QEMU is ${MINIMUM_MAJOR_VERSION}, " \
0 commit comments