Commit 843cc5d3 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Download logs via http if klist fails (eg on ARM)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19895 4525493e-7705-40b1-a816-d608a930855b
parent ac33c4b1
......@@ -118,7 +118,12 @@ fi
if [ "$thisPkg" == "CoralTest" ]; then
if [ ! -d logs ]; then
echo "WARNING! Missing logs directory ${theLogParentDir}/logs will be checked out from lcgcoral SVN"
svn co svn+ssh://svn.cern.ch/reps/lcgcoral/logs
klist > /dev/null 2>&1
if [ "$?" == "0" ]; then
svn co svn+ssh://svn.cern.ch/reps/lcgcoral/logs
else
svn co http://svn.cern.ch/guest/lcgcoral/logs
fi
fi
if [ ! -d logs/qmtestCoral ]; then
echo "ERROR! Directory ${theLogParentDir}/logs/qmtestCoral does not exist"
......@@ -128,7 +133,12 @@ if [ "$thisPkg" == "CoralTest" ]; then
else
if [ ! -d logs ]; then
echo "WARNING! Missing logs directory ${theLogParentDir}/logs will be checked out from lcgcool SVN"
svn co svn+ssh://svn.cern.ch/reps/lcgcool/logs
klist > /dev/null 2>&1
if [ "$?" == "0" ]; then
svn co svn+ssh://svn.cern.ch/reps/lcgcool/logs
else
svn co http://svn.cern.ch/guest/lcgcool/logs
fi
fi
if [ ! -d logs/qmtestCool ]; then
echo "ERROR! Directory ${theLogParentDir}/logs/qmtestCool does not exist"
......
Supports Markdown
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