3 # author: hackbard@hackdaworld.dyndns.org
5 # hdw - linux make tar script
6 # just for personal use to make tarballs from the cvs snaps!
9 # make a tarball from the hdw sources
16 rm -f hdw-linux-${version}.tar.bz2
19 cvs -d:pserver:anonymous@cvs.hackdaworld.dyndns.org:/hdw-linux co hdw-linux &&
20 mv hdw-linux hdw-linux-${version} ; cd hdw-linux-${version}
29 tar cvf hdw-linux-${version}.tar hdw-linux-${version}
30 bzip2 hdw-linux-${version}.tar
31 myip=`ifconfig eth0 | grep inet\ addr | awk '{ print $2 }' | \
32 awk -F: '{ print $2 }'`
33 if [ "$myip" = "192.168.10.24" ] ; then
34 scp hdw-linux-${version}.tar.bz2 \
35 www.hackdaworld.dyndns.org:/chroot/www/htdocs/download/hdw-linux/hdw-linux-$version/snapshot/
37 scp -P 1822 hdw-linux-${version}.tar.bz2 \
38 hackdaworld.dyndns.org:/chroot/www/htdocs/download/hdw-linux/hdw-linux-$version/snapshot/
40 scp hdw-linux-${version}.tar.bz2 \
41 zirkelfr@everest.physik.uni-augsburg.de:~/public_html/download/hdw-linux/hdw-linux-${version}.tar.bz2
42 rm -rf hdw-linux-${version}