745414e90550beea6f4790898fff869901c6a586
[scripts/scripts.git] / present_hdw_scripts.sh
1 # creates a directory with the latest cvs hdw source to present it online
2 #
3 # author: hackbard
4 #
5
6 ver="0.2-dev"
7 inst_path="/chroot/www/htdocs/download/hdw-linux/hdw-linux-${ver}/scripts"
8
9 echo "installing scripts to $inst_path ..."
10
11 rm -rf $inst_path
12 mkdir -p $inst_path
13
14 cvs -d:pserver:anonymous@localhost:/hdw-linux co hdw-linux-${ver}
15 mv hdw-linux-${ver}/* $inst_path
16 chmod -R 755 $inst_path
17
18 rm -rf hdw-linux-${ver}
19
20 echo "finished."
21