From 264bded0ea5efdc9c01aa31746cec0c8db468b56 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Sat, 1 Jun 2019 21:08:06 +0000 Subject: [PATCH] [grobi] more brain dead sh mistakes --- roles/grobisplitter/files/rhel8-split.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/grobisplitter/files/rhel8-split.sh b/roles/grobisplitter/files/rhel8-split.sh index b25daf48d1..ae5dbe8b80 100755 --- a/roles/grobisplitter/files/rhel8-split.sh +++ b/roles/grobisplitter/files/rhel8-split.sh @@ -21,9 +21,9 @@ for ARCH in ${ARCHES}; do # We consolidate all of the default repositories and remerge them # in a daily tree. This allows us to point koji at a particular # day if we have specific build concerns. - OUTDIR=${HOMEDIR}/koji/${DATE}/${ARCHES} + OUTDIR=${HOMEDIR}/koji/${DATE}/${ARCH} mkdir -vp ${OUTDIR} - if [ ! -d ${ARCHDIR} ]; then + if [ ! -d ${OUTDIR} ]; then echo "Unable to find ${ARCHDIR}" exit else