# creates a directory with the latest cvs hdw source to present it online # # author: hackbard # ver="0.2-dev" inst_path="/chroot/www/htdocs/download/hdw-linux/hdw-linux-${ver}/scripts" echo "installing scripts to $inst_path ..." rm -rf $inst_path mkdir -p $inst_path cvs -d:pserver:anonymous@localhost:/hdw-linux co hdw-linux-${ver} mv hdw-linux-${ver}/* $inst_path chmod -R 755 $inst_path rm -rf hdw-linux-${ver} echo "finished."