]> hackdaworld.org Git - scripts/scripts.git/blob - present_hdw_scripts.sh
corrected rehash argument ;)
[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.3-dev"
7 inst_path="/chroot/hdw/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@right-hand:/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