Consistently use [[ for if statements.

This commit is contained in:
John Van de Meulebrouck Brendgard 2023-11-16 12:12:36 +01:00
parent dc1df6671c
commit 21c0cad8a0
No known key found for this signature in database
GPG key ID: 807A5FD4B3337B77

View file

@ -255,7 +255,7 @@ while [[ -z "${ok}" ]]; do
esac
done
if [ "${deftag}" != "${tagpfx}" ]; then
if [[ "${deftag}" != "${tagpfx}" ]]; then
echo -e "Using new tag \e[94m${this_tag}\e[0m according to pattern in cosmos.conf"
else
echo -e "Using new tag \e[94m${this_tag}\e[0m"