From da99d445f4c11c87b0a0b8ac1d937a6b17242efc Mon Sep 17 00:00:00 2001 From: Emil Obreshkov <emil.obreshkov@cern.ch> Date: Fri, 17 Nov 2017 11:26:58 +0000 Subject: [PATCH] Merge branch 'copy-RPM-script' into 'master' Added parentheses around ERROR_COUNT (L 71). See merge request !6608 Former-commit-id: 4e5ec5029a245d3008cfba1e5296142b1802473b --- Build/AtlasBuildScripts/copy_rpm_eos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/AtlasBuildScripts/copy_rpm_eos.sh b/Build/AtlasBuildScripts/copy_rpm_eos.sh index 67133d3cbe6..38745d8d0eb 100755 --- a/Build/AtlasBuildScripts/copy_rpm_eos.sh +++ b/Build/AtlasBuildScripts/copy_rpm_eos.sh @@ -68,7 +68,7 @@ DESTDIR=${DESTDIR}/${BRANCH}/${ARCH}/${DDAY} if [ ! -d ${DESTDIR} ] ; then echo "mkdir -p ${DESTDIR}" mkdir -p ${DESTDIR} - if [ ! -d ${DESTDIR} ] ; then ERROR_COUNT++ ; fi #avoid false positive eos error if the directory was actually created + 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)`) -- GitLab