summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-07-20 09:25:51 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-21 01:43:05 -0500
commit38241b0b9bdbc7771dea5764e3f418d1287bdec2 (patch)
tree69892f0a6d7c1a839b6ece88aeb70296abc4d5e6 /system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
parentcbe484c6dbe99ea11f531dfeb5057d924b284b02 (diff)
downloadslackbuilds-38241b0b9bdbc7771dea5764e3f418d1287bdec2.tar.gz
system/virtualbox-kernel-addons: Updated for version 3.2.6.
Signed-off-by: Robby Workman <rworkman@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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
index 738df1deff..251e24f1e2 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
@@ -9,13 +9,13 @@
set -e
PRGNAM=virtualbox-kernel-addons
-VERSION=$(VBoxControl --help 2>/dev/null | grep OSE | cut -d " " -f 9 | cut -d "_" -f 1)
+VERSION=$(VBoxControl --help 2>/dev/null | grep OSE | rev | cut -d " " -f 1 | rev | cut -d "_" -f 1)
mkdir $PRGNAM
echo "--> Copying sourcecode from /usr/src"
cp -rf /usr/src/vboxguest-$VERSION $PRGNAM/vboxguest
-cp -rf /usr/src/vboxvfs-$VERSION $PRGNAM/vboxvfs
+cp -rf /usr/src/vboxsf-$VERSION $PRGNAM/vboxsf
cp -rf /usr/src/vboxvideo-$VERSION $PRGNAM/vboxvideo
echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.xz"