summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh')
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh b/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
index b758bc049b..a4185b3456 100644
--- a/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
+++ b/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
@@ -9,7 +9,7 @@
set -e
PRGNAM=virtualbox-kernel
-VERSION=$(VBoxManage -v | grep -e ^[0-9].*_OSE | cut -d "_" -f 1)
+VERSION=$(VBoxManage -v | grep -e '^[0-9].[0-9].[0-9]*r[0-9]*' | cut -d "r" -f 1)
MODULE_SRC=$(grep "MODULE_SRC=" /etc/vbox/vbox.cfg | cut -d "=" -f 2 | cut -d "\"" -f 2)