#!/bin/sh
# repack the vl-live-tools

if [ "$1" = "" ]; then
echo "          usage is:"
echo " "
echo "                   repackvllivetools version"
echo " "
echo "          where version is #.#.# eg. 0.0.0"
exit 1
fi

CURDIR=`pwd`
cd /
tar cvzpf vl-live-tools-$1-noarch-5vl58.tgz ./root/.vmklive ./etc/rc.d/rc.*.real ./etc/rc.d/rc.*.live ./etc/X11/XF86Config-4.in ./sbin/modetest ./sbin/ddcxinfo-vector ./sbin/ddcprobe ./sbin/ddcxinfo ./sbin/svgamodes ./sbin/VLXconf ./sbin/VLsetup ./sbin/vliveinstall ./sbin/vmklive ./sbin/vxconf-quiet ./sbin/alsaconf-quiet ./usr/share/applications/vmklive.desktop ./usr/share/applications/vliveinstall.desktop ./usr/share/icons/vl-ball.xpm
mv vl-live-tools-$1-noarch-5vl58.tgz $CURDIR
cd $CURDIR
exit 0

