summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:42:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:42:16 +0200
commitc79e0b03e6ca32ec7fefab7a37a7fee37dfe20f4 (patch)
tree862a721392fe3c17de483369dc5532a6fae72698 /system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
parent8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865 (diff)
downloadslackbuilds-c79e0b03e6ca32ec7fefab7a37a7fee37dfe20f4.tar.gz
system/virtualbox-kernel-addons: Updated for version 3.1.2
Diffstat (limited to 'system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh')
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
index 5b0843bc6e..738df1deff 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh
@@ -14,13 +14,14 @@ VERSION=$(VBoxControl --help 2>/dev/null | grep OSE | cut -d " " -f 9 | cut -d "
mkdir $PRGNAM
echo "--> Copying sourcecode from /usr/src"
-cp -rf /usr/src/vboxadd-$VERSION $PRGNAM/vboxadd
+cp -rf /usr/src/vboxguest-$VERSION $PRGNAM/vboxguest
cp -rf /usr/src/vboxvfs-$VERSION $PRGNAM/vboxvfs
+cp -rf /usr/src/vboxvideo-$VERSION $PRGNAM/vboxvideo
-echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.bz2 "
-tar -c $PRGNAM/ | bzip2 > $PRGNAM-$VERSION.tar.bz2
+echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.xz"
+tar -cJf $PRGNAM-$VERSION.tar.xz $PRGNAM
echo "--> Erasing the sourcecode directory: $PRGNAM/"
rm -rf $PRGNAM/
-echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2"
+echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.xz"