X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fcheckin.sh;h=a730031fc4df9e44a51174e1a30a7f418b59b5fc;hb=15904a10cb3d0bca00703b54c300c7beb05f95f7;hp=18b459a01285316e3f49efd759e4803087d11d05;hpb=c5682f6ef10420df03c81463a0fe4c709450b823;p=feisty_meow.git diff --git a/scripts/rev_control/checkin.sh b/scripts/rev_control/checkin.sh index 18b459a0..a730031f 100644 --- a/scripts/rev_control/checkin.sh +++ b/scripts/rev_control/checkin.sh @@ -25,10 +25,17 @@ function do_checkin() fi } +# checks in all the folders in a specified list. function checkin_list { local list=$* for i in $list; do - for j in $i/feisty_meow $i/hoople1 $i/hoople2 $i/quartz $i/web $i/yeti $i/xsede/xsede_tests $i/xsede/code/cak0l/trunk ; do +echo whole list is ${REPOSITORY_LIST} + # turn repo list back into an array. + eval "repository_list=( ${REPOSITORY_LIST[*]} )" + for j in "${repository_list[@]}"; do + # add in the directory component. + j="$i/$j" +echo here the dir thing is: $j if [ ! -d "$j" ]; then continue; fi pushd $j &>/dev/null