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

Merge branch 'master-copy_rpm_eos-update' into 'master'

Added protection for EOS false positive error.

See merge request !5397

Former-commit-id: ab08d3d3a11a498080e0fcb457e8f6b923fe2a0c
parent eeef2d99
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ else ...@@ -59,7 +59,7 @@ else
DDAY=${WEEKDAY} DDAY=${WEEKDAY}
fi fi
echo "=====================================================" echo "====================================================="
echo "=== STARTING RPMs copy to /eos" echo "=== STARTING RPMs copy to /eos at `date`"
echo "=====================================================" echo "====================================================="
...@@ -67,7 +67,8 @@ DESTDIR=${DESTDIR}/${BRANCH}/${ARCH}/${DDAY} ...@@ -67,7 +67,8 @@ DESTDIR=${DESTDIR}/${BRANCH}/${ARCH}/${DDAY}
if [ ! -d ${DESTDIR} ] ; then if [ ! -d ${DESTDIR} ] ; then
echo "mkdir -p ${DESTDIR}" 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 fi
arr_rpm=(`(shopt -s nocaseglob; ls ${SOURCEDIR}/*.rpm)`) arr_rpm=(`(shopt -s nocaseglob; ls ${SOURCEDIR}/*.rpm)`)
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100755 to 100644
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