Skip to content
Snippets Groups Projects
Commit e21bf03f authored by Emil Obreshkov's avatar Emil Obreshkov
Browse files

Added protection for EOS false positive error.

Former-commit-id: 003bae2d
parent fcbae78e
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
......@@ -59,7 +59,7 @@ else
DDAY=${WEEKDAY}
fi
echo "====================================================="
echo "=== STARTING RPMs copy to /eos"
echo "=== STARTING RPMs copy to /eos at `date`"
echo "====================================================="
......@@ -67,7 +67,8 @@ DESTDIR=${DESTDIR}/${BRANCH}/${ARCH}/${DDAY}
if [ ! -d ${DESTDIR} ] ; then
echo "mkdir -p ${DESTDIR}"
mkdir -p ${DESTDIR} || ((ERROR_COUNT++))
mkdir -p ${DESTDIR}
if [ ! -d ${DESTDIR} ] ; then ERROR_COUNT++ ; fi #avoid false positive eos error if the directory was actually created
fi
arr_rpm=(`(shopt -s nocaseglob; ls ${SOURCEDIR}/*.rpm)`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment