X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fgetme.sh;h=58da7087086f32fa136f476c97603049745c80e1;hb=899c242ba88efb6e4fbc621844ac6947e29fef53;hp=bd1edc4a8496564340a9021cb5cb0c9160f27cc4;hpb=ef9fa75369c57548fe41e5ce3724b7f7c40b983c;p=feisty_meow.git diff --git a/scripts/rev_control/getme.sh b/scripts/rev_control/getme.sh index bd1edc4a..58da7087 100644 --- a/scripts/rev_control/getme.sh +++ b/scripts/rev_control/getme.sh @@ -2,7 +2,7 @@ # gets all of fred's revision control folders out. -source "$SHELLDIR/rev_control/rev_control.sh" +source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh" if [ "$(pwd)" != "$TMP" ]; then # echo "Moving to the TMP directory to avoid file access conflicts..." @@ -25,7 +25,7 @@ function do_update() directory="$1"; shift if [ -d "CVS" ]; then - cvs co -P -kb "$directory" + cvs update . elif [ -d ".svn" ]; then svn update . elif [ -d ".git" ]; then @@ -38,10 +38,13 @@ function do_update() function checkout_list { list=$* for i in $list; do -#this list should be part of the configuration file, not part of script. - for j in $i/feisty_meow $i/hoople $i/hoople1 $i/hoople2 $i/quartz $i/web $i/yeti $i/xsede/xsede_tests $i/xsede/code/cak0l/trunk ; do + # turn repo list back into an array. + eval "repository_list=( ${REPOSITORY_LIST[*]} )" + for j in "${repository_list[@]}"; do + # add in the directory for our purposes here. + j="$i/$j" if [ ! -d $j ]; then -# echo no directory called $j exists + echo no directory called $j exists continue fi @@ -65,8 +68,8 @@ fi less $TMPO_CHK # we now regenerate the scripts after getme, to ensure it's done automatically. -bash "$SHELLDIR/core/bootstrap_shells.sh" -perl "$SHELLDIR/core/generate_aliases.pl" +bash "$FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh" +perl "$FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl" echo nechung