Changeset 37260


Ignore:
Timestamp:
2023-02-03T16:18:17+13:00 (15 months ago)
Author:
davidb
Message:

Script updated to work with self-contained Python3 extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/eurovision-lod/trunk/sites/eurovision/collect/eurovision/prepare/03-GEN-VOTING-METADATA.sh

    r35935 r37260  
    55prep_dir=voting-excel
    66
    7 if [ ! -d "./$my_python" ] ; then
     7if [ "x$PYTHON3_HOME" = "x" ] && [ ! -d "./$my_python" ] ; then
    88    echo "" 1>&2
    99    echo "Failed to find: ./$my_python" 1>&2
     
    4848exit_status=0
    4949
    50 source  ./$my_python/bin/activate
     50if [ "x$PYTHON3_HOME" = "x" ] ; then   
     51    source  ./$my_python/bin/activate
     52fi
    5153
    5254$prep_dir/xlsx-fromcountry-jsonmetadata.py \
     
    100102
    101103
    102 deactivate
     104if [ "x$PYTHON3_HOME" = "x" ] ; then   
     105    deactivate
     106fi
    103107
    104108if [ $exit_status != 0 ] ; then
Note: See TracChangeset for help on using the changeset viewer.