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.
This commit is contained in:
parent
a595ab2f59
commit
d248786aec
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue