Changeset 38294 for gs3-installations/intermuse/trunk/sites/intermuse/collect/demo-localhost/ACTIVATE.sh
- Timestamp:
- 2023-10-06T18:07:52+13:00 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/intermuse/trunk/sites/intermuse/collect/demo-localhost/ACTIVATE.sh
r38240 r38294 3 3 source ../_local_collect_config.sh 4 4 5 if [ "x$GSDL3SRCHOME" = "x" ] ; then 6 pushd ../../../../../ && . ./SETUP.bash && popd 7 fi 5 8 6 9 echo "Obtaining lock: gs3-building.flock" 7 10 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 17 echo "" 18 echo "####" 19 echo "# Activating the collection" 20 echo "####" 21 echo "" 22 23 24 if [ $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" 27 else 28 flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* "$col" 29 30 fi 10 31 11 32 echo "Releasing lock: gs3-building.flock" 33 /bin/rm gs3-building.flock 34 35 echo "" 36 echo "####" 37 echo "# Done activating ... moving on to submitting annotation IDs" 38 echo "####" 39 echo "" 40 41 ./POPULATE-ALL-NEW-OPENANNOTATION-LISTS.sh
Note:
See TracChangeset
for help on using the changeset viewer.