153 |
|
txt += 'elif [ $GRID3_APP_DIR ]; then\n' |
154 |
|
txt += ' middleware=OSG \n' |
155 |
|
txt += ' if [ $GLOBUS_GRAM_JOB_CONTACT ]; then \n' |
156 |
< |
txt += ' SyncCE=`echo "https://cmsgrid02.hep.wisc.edu:59387/11075/1191845762/" | cut -d: -f2 | sed \'s/\/\///\'`;\n' |
156 |
> |
txt += ' SyncCE=`echo "echo $GLOBUS_GRAM_JOB_CONTACT" | cut -d: -f2 | sed \'s/\/\///\'`;\n' |
157 |
|
txt += ' echo "SyncCE=$SyncCE" | tee -a $RUNTIME_AREA/$repo ;\n' |
158 |
|
txt += ' else\n' |
159 |
|
txt += ' echo "not reporting SyncCE";\n' |
163 |
|
txt += 'elif [ $OSG_APP ]; then \n' |
164 |
|
txt += ' middleware=OSG \n' |
165 |
|
txt += ' if [ $GLOBUS_GRAM_JOB_CONTACT ]; then \n' |
166 |
< |
txt += ' SyncCE=`echo "https://cmsgrid02.hep.wisc.edu:59387/11075/1191845762/" | cut -d: -f2 | sed \'s/\/\///\'`;\n' |
166 |
> |
txt += ' SyncCE=`echo "echo $GLOBUS_GRAM_JOB_CONTACT" | cut -d: -f2 | sed \'s/\/\///\'`;\n' |
167 |
|
txt += ' echo "SyncCE=$SyncCE" | tee -a $RUNTIME_AREA/$repo ;\n' |
168 |
|
txt += ' else\n' |
169 |
|
txt += ' echo "not reporting SyncCE";\n' |