From 2ce9771c798c723b2e201e04da8f7416c32c1b14 Mon Sep 17 00:00:00 2001
From: Oana Vickey Boeriu <Oana.Boeriu@cern.ch>
Date: Fri, 17 Nov 2017 12:02:02 +0100
Subject: [PATCH]  Added parenteses around ERROR_COUNT (L 71).

Former-commit-id: 17b0ad69ac49fc9d7ebfe1851f9b1876abcc62f9
---
 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