X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=present_hdw_scripts.sh;fp=present_hdw_scripts.sh;h=745414e90550beea6f4790898fff869901c6a586;hp=0000000000000000000000000000000000000000;hb=2df8b7bff4b4c6383ee357eb0e7b21c300a82f6e;hpb=07c133fec78ce26e0bbfdeb20f9a7cc8a7667b4a diff --git a/present_hdw_scripts.sh b/present_hdw_scripts.sh new file mode 100755 index 0000000..745414e --- /dev/null +++ b/present_hdw_scripts.sh @@ -0,0 +1,21 @@ +# 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." +