Commit 308fa453 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Added path to sw on OSG

parent 1c9aa430
......@@ -4,9 +4,17 @@ echo "<h2>Test of the local FroNtier squid</h2>"
# Source the CMS environment
echo "<h3>Sourcing the CMS environment</h3>"
echo "<pre>"
export SCRAM_ARCH=slc3_ia32_gcc323
source $VO_CMS_SW_DIR/cmsset_default.sh
if [ -n "$VO_CMS_SW_DIR" ] ; then
SW_DIR=$VO_CMS_SW_DIR
elif [ -n "$OSG_APP" ] ; then
SW_DIR=$OSG_APP/cmssoft/cms
else
echo "ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
exit $SAME_ERROR
fi
echo "<pre>"
source $SW_DIR/cmsset_default.sh
result=$?
echo "</pre>"
if [ $result != 0 ]
......
......@@ -4,9 +4,17 @@ echo "<h2>Stage out test for the Monte Carlo production</h2>"
# Source the CMS environment
echo "<h3>Sourcing the CMS environment</h3>"
echo "<pre>"
export SCRAM_ARCH=slc3_ia32_gcc323
source $VO_CMS_SW_DIR/cmsset_default.sh
if [ -n "$VO_CMS_SW_DIR" ] ; then
SW_DIR=$VO_CMS_SW_DIR
elif [ -n "$OSG_APP" ] ; then
SW_DIR=$OSG_APP/cmssoft/cms
else
echo "ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
exit $SAME_ERROR
fi
echo "<pre>"
source $SW_DIR/cmsset_default.sh
result=$?
echo "</pre>"
if [ $result != 0 ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment