updated scheme for locating revision control assets; uses a list (in a
[feisty_meow.git] / scripts / rev_control / getme.sh
index 814a169e1135a98238cf002ad9cfe6c1493c0cf2..58da7087086f32fa136f476c97603049745c80e1 100644 (file)
@@ -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,11 +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 ; do
-#$i/xsede/code/cak0l/trunk 
+    # 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
 
@@ -66,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