File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ RUN yum update -y \
2424 tar-1.26-35.amzn2.0.4 \
2525 unzip-6.0-57.amzn2.0.1 \
2626 zip-3.0-11.amzn2.0.2 \
27- && IFS=$'\n\t ' if yum list updates | grep -q -e '^Updated Packages' ; then \
27+ && IFS=$'\n\t ' \
28+ && if yum list updates | grep -q -e '^Updated Packages' ; then \
2829 yum list updates ; \
2930 exit 1 ; \
3031 fi \
@@ -35,7 +36,8 @@ RUN yum update -y \
3536# @TL FIXME: --break-system-packages not supported until Python 3.11.
3637RUN pip3 install --no-cache-dir --upgrade \
3738 cfn-policy-validator==0.0.29 \
38- && IFS=$'\n\t ' msg="$(pip3 list --outdated | grep -i -e '^cfn-policy-validator ' || true)" \
39+ && IFS=$'\n\t ' \
40+ && msg="$(pip3 list --outdated | grep -i -e '^cfn-policy-validator ' || true)" \
3941 && if [ -n "${msg}" ]; then \
4042 >&2 echo "ERROR: outdated: ${msg}" ; \
4143 exit 1 ; \
You can’t perform that action at this time.
0 commit comments