diff --git a/Build/AtlasBuildScripts/copy_rpm_eos.sh b/Build/AtlasBuildScripts/copy_rpm_eos.sh
index 67133d3cbe6270160b774b8f56d691416c7aca8c..38745d8d0eb7b8165e3d46e8dd6ef9ea76906ea8 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