From d248786aec6ce87bef5addb44cff98589143bae4 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 12 Aug 2020 16:26:28 -0400 Subject: [PATCH] The script failed to sync to the correct directory due to the fact that bash interprets single quote and double quote differently when dealing with variable expansion. --- roles/batcave/files/rhel7-sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/batcave/files/rhel7-sync b/roles/batcave/files/rhel7-sync index 6ff1a5c3d8..aa240c1a16 100644 --- a/roles/batcave/files/rhel7-sync +++ b/roles/batcave/files/rhel7-sync @@ -21,9 +21,9 @@ cd $RHEL7SYNCDIR ## Sync out RHEL-7 for appropriate arches for A in ${ARCHES}; do if [[ ${A} == 'x86_64' ]]; then - DNF_ARCH='-p ${A} -a ${A} -a noarch -a i686' + DNF_ARCH="-p ${A} -a ${A} -a noarch -a i686" else - DNF_ARCH='-p ${A} -a ${A} -a noarch' + DNF_ARCH="-p ${A} -a ${A} -a noarch" fi rm -rf ${SYNCDIR}/${A} CONF=yum-batcave-rhel7-${A}.conf