Ignore:
Timestamp:
2023-10-06T18:07:52+13:00 (8 months ago)
Author:
davidb
Message:

Tighten up full-build script sequence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/demo-localhost/ACTIVATE.sh

    r38240 r38294  
    33source ../_local_collect_config.sh
    44
     5if [ "x$GSDL3SRCHOME" = "x" ] ; then
     6    pushd ../../../../../ && . ./SETUP.bash && popd
     7fi
    58
    69echo "Obtaining lock: gs3-building.flock"
    710
    8 #sudo -u $gs_server_username -- \
    9 bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* \"$col\""
     11##sudo -u $gs_server_username -- \
     12#bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* \"$col\""
     13
     14
     15./DESTROY-ALL-PREV-OPENANNOTATION-LISTS.sh
     16
     17echo ""
     18echo "####"
     19echo "# Activating the collection"
     20echo "####"
     21echo ""
     22
     23
     24if [ $gs_server_username != $USER ] ; then
     25    sudo -u $gs_server_username -- \
     26     flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* "$col"
     27else
     28    flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* "$col"
     29   
     30fi
    1031
    1132echo "Releasing lock: gs3-building.flock"
     33/bin/rm gs3-building.flock
     34
     35echo ""
     36echo "####"
     37echo "# Done activating ... moving on to submitting annotation IDs"
     38echo "####"
     39echo ""
     40
     41./POPULATE-ALL-NEW-OPENANNOTATION-LISTS.sh
Note: See TracChangeset for help on using the changeset viewer.