@@ -11,26 +11,38 @@ export send_updates=$7
1111
1212start_dir=$PWD
1313
14- osg_software=/cvmfs/oasis.opensciencegrid.org/mis/osg-wn-client/3.4/3.4.22/el7-x86_64
15- anaconda_env=/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/bin
16- rucio_base=/cvmfs/xenon.opensciencegrid.org/software/rucio-py27/1.8.3
17-
18- # OSG env for gfal
19- source $osg_software /setup.sh
20- export GFAL_CONFIG_DIR=$OSG_LOCATION /etc/gfal2.d
21- export GFAL_PLUGIN_DIR=$OSG_LOCATION /usr/lib64/gfal2-plugins/
22-
23- # Rucio env
24- export RUCIO_HOME=$rucio_base /rucio/
25- export RUCIO_ACCOUNT=xenon-analysis
26- export PYTHONPATH=$rucio_base /lib/python2.7/site-packages:$PYTHONPATH
27- export PATH=$rucio_base /bin:$PATH
28-
2914# set GLIDEIN_Country variable if not already
3015if [[ -z " $GLIDEIN_Country " ]]; then
3116 export GLIDEIN_Country=" US"
3217fi
3318
19+ if [ -e /image-build-info.txt ]; then
20+ echo
21+ echo " Running in image with build info:"
22+ cat /image-build-info.txt
23+ echo
24+ fi
25+
26+ . /opt/XENONnT/setup.sh
27+
28+ # ## We should not need these anymore as it is part of the container we running in
29+ # ##
30+ # ## osg_software=/cvmfs/oasis.opensciencegrid.org/mis/osg-wn-client/3.4/3.4.22/el7-x86_64
31+ anaconda_env=/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/bin
32+ # ## rucio_base=/cvmfs/xenon.opensciencegrid.org/software/rucio-py27/1.8.3
33+ # ##
34+ # ## # OSG env for gfal
35+ # ## source $osg_software/setup.sh
36+ # ## export GFAL_CONFIG_DIR=$OSG_LOCATION/etc/gfal2.d
37+ # ## export GFAL_PLUGIN_DIR=$OSG_LOCATION/usr/lib64/gfal2-plugins/
38+ # ##
39+ # ## # Rucio env
40+ # ## export RUCIO_HOME=$rucio_base/rucio/
41+ # export PYTHONPATH=$rucio_base/lib/python2.7/site-packages:$PYTHONPATH
42+ # export PATH=$rucio_base/bin:$PATH
43+
44+ export RUCIO_ACCOUNT=xenon-analysis
45+
3446data_downloaded=0
3547
3648# If data is in Rucio, find the rse to use
@@ -95,7 +107,7 @@ if [[ $data_downloaded == 0 ]]; then
95107fi
96108
97109# post-transfer, we can set up the env for pax - but first save/clear some old stuff
98- old_path =$PATH
110+ iold_path =$PATH
99111export PATH=/usr/bin:/bin
100112old_ld_library_path=$LD_LIBRARY_PATH
101113unset LD_LIBRARY_PATH
0 commit comments