summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2016-12-27 16:48:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:48 +0700
commitf5c25ce87eef24c0ff62b186bc7d8deb6715d0b8 (patch)
treef2aa3c1a062f18f0d8314ae7a1aca230a34e333c /system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
parentd73b2f152c4270fc4ac6a2ade73ebcfc576ebd6f (diff)
downloadslackbuilds-f5c25ce87eef24c0ff62b186bc7d8deb6715d0b8.tar.gz
system/virtualbox-kernel-addons: Updated for version 5.0.30.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh')
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
index 251e24f1e2..f888c3b611 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
@@ -9,7 +9,7 @@
set -e
PRGNAM=virtualbox-kernel-addons
-VERSION=$(VBoxControl --help 2>/dev/null | grep OSE | rev | cut -d " " -f 1 | rev | cut -d "_" -f 1)
+VERSION=$(VBoxControl -V | grep -e '^[0-9].[0-9].[0-9]*r[0-9]*' | cut -d "r" -f 1)
mkdir $PRGNAM