Commit 6743dfac473ed36dd130f23d547259966eec5b51

Authored by Benjamin Renard
1 parent b83cf67f

Give the possibility to define SPASE_REPO in an environment variable

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
update_amda/updateEnv.sh
... ... @@ -38,8 +38,10 @@ if [[ ${AMDAINTERNALDIR: -1} != "/" ]]; then
38 38 export AMDAINTERNALDIR=$AMDAINTERNALDIR/
39 39 fi
40 40  
41   -#SPASE Registry definitions
42   -export SPASE_REPO="http://amda-registry.irap.omp.eu/amda-registry/resolver"
  41 +#SPASE Registry definitions - To skip if SPASE_REPO already defined in environment variables
  42 +if [ -z ${SPASE_REPO+x} ]; then
  43 + export SPASE_REPO="http://amda-registry.irap.omp.eu/amda-registry/resolver"
  44 +fi
43 45 #Remote SPASE Registry to get Person' Info
44 46 export SPASE_REMOTE="http://www.spase-group.org/smwg/resolver"
45 47 # for SPASE Registy MAJ
... ...