summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:46:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:46:16 +0200
commitb0017da8220216eef8dd33cb0b054b745072b78f (patch)
tree2ab024ed09e176a53d7da7e1f88507eb298bc963 /system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
parent696c0a54dd8b92223108bb205b023beb14e9aca1 (diff)
downloadslackbuilds-b0017da8220216eef8dd33cb0b054b745072b78f.tar.gz
system/virtualbox-kernel: Updated for version 2.1.4
Diffstat (limited to 'system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh')
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh b/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
index ed462db9bc..78e0994e65 100644
--- a/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
+++ b/system/virtualbox-kernel/virtualbox-kernel-mksrctarball.sh
@@ -8,20 +8,19 @@
set -e
-PRGNAM=vbox-kernel-module
-SRCNAM=vboxdrv
+PRGNAM=virtualbox-kernel
VBOX_VERSION=$(VBoxManage -v | grep -e ^[0-9].*_OSE)
VERSION=${VBOX_VERSION:0:5}
MODULE_SRC=$(grep "MODULE_SRC=" /etc/vbox/vbox.cfg | cut -d "=" -f 2 | cut -d "\"" -f 2)
echo "--> Copying sourcecode from $INSTALL_DIR/src"
-cp -rf $MODULE_SRC/$SRCNAM-$VERSION $SRCNAM
+cp -rf $MODULE_SRC/$PRGNAM-$VERSION $PRGNAM-$VERSION
-echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.bz2 "
-tar -c $SRCNAM/ | bzip2 > $PRGNAM-src-$VERSION.tar.bz2
+echo "--> Making the sourcecode tarball: $PRGNAM-$VERSION.tar.bz2 "
+tar -c $PRGNAM-$VERSION/ | bzip2 > $PRGNAM-$VERSION.tar.bz2
echo "--> Erasing the sourcecode directory: $SRCNAM/"
-rm -rf $SRCNAM/
+rm -rf $PRGNAM-$VERSION/
-echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-src-$VERSION.tar.bz2"
+echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2"