From a0e2e9468b812fb0a3074f2c571fbdd5d6d48f76 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: 32bae8d9032812f8020389015db092b52157053a --- Build/AtlasBuildScripts/copy_rpm_eos.sh | 2 +- Reconstruction/RecoFix/python/__init__.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 Reconstruction/RecoFix/python/__init__.py diff --git a/Build/AtlasBuildScripts/copy_rpm_eos.sh b/Build/AtlasBuildScripts/copy_rpm_eos.sh index 67133d3cbe62..38745d8d0eb7 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)`) diff --git a/Reconstruction/RecoFix/python/__init__.py b/Reconstruction/RecoFix/python/__init__.py old mode 100755 new mode 100644 -- GitLab