diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-08-19 11:21:43 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-08-19 11:21:43 -0400 |
commit | c1189149053228204277708cc01037e6c9891d37 (patch) | |
tree | 428c25de7334c2df058ef87f846f33f5c0390f3c /bin/update_all.sh | |
parent | a26ab9064bc34e6695cb1e255522fab3f55deeb8 (diff) | |
download | astroconda-control-c1189149053228204277708cc01037e6c9891d37.tar.gz |
Diffstat (limited to 'bin/update_all.sh')
-rwxr-xr-x | bin/update_all.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/update_all.sh b/bin/update_all.sh index 11a5024..a89ef28 100755 --- a/bin/update_all.sh +++ b/bin/update_all.sh @@ -5,6 +5,8 @@ source /eng/ssb/auto/astroconda/include/pre-common.sh repo_base=http://ssb.stsci.edu contexts=( dev public ) versions=( 27 35 ) +tree_base=$(dirname $test_from) +trees=( rt rtx ) echo '----' echo 'Updating base installation:' @@ -37,15 +39,21 @@ do fi echo '----' echo "Updating $context from $repo:" - conda update -q -y --override-channels -c defaults -c $repo -n $environ --all + conda update -q -y --override-channels -c $repo -c defaults -n $environ --all echo '----' echo "Forcing pandokia to exist:" - conda install -q -y --override-channels -c defaults -c $repo -n $environ pandokia + conda install -q -y --override-channels -c $repo -c defaults -n $environ pandokia done done echo '----' echo 'Updating regression tests:' -svn_update `for d in /srv/rt/*; do [[ -d $d/.svn ]] && echo $d; done` +for tree in "${trees[@]}" +do + base="$tree_base/$tree" + if [[ -d $base/.svn ]]; then + svn_update $base + fi +done echo '----' |