clang-format: update "nm-code-format-container.sh" script to use Fedora 34 container

This commit is contained in:
Thomas Haller
2021-05-03 21:51:44 +02:00
parent 21321ac736
commit fb2ea999ea

View File

@@ -37,7 +37,7 @@ if ! podman container exists "$PODNAME" ; then
--name="$PODNAME" \ --name="$PODNAME" \
-v "$DIR:/tmp/NetworkManager:Z" \ -v "$DIR:/tmp/NetworkManager:Z" \
-w /tmp/NetworkManager \ -w /tmp/NetworkManager \
fedora:33 \ fedora:34 \
/bin/bash -c 'dnf upgrade -y && dnf install -y git /usr/bin/clang-format && ./contrib/scripts/nm-code-format.sh -i' /bin/bash -c 'dnf upgrade -y && dnf install -y git /usr/bin/clang-format && ./contrib/scripts/nm-code-format.sh -i'
exit 0 exit 0
fi fi