diff options
author | Dustin Smith <smith.dustin2017@gmail.com> | 2022-07-23 21:52:36 -0400 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-07-24 18:49:19 +0200 |
commit | 2274610a3adacc42b560ab36fae5498389c6790e (patch) | |
tree | 6039b0904a535e67f54a92982499b826017cb355 /net-firewall/ufw | |
parent | net-analyzer/gvm-libs: drop 20.8.1-r1 (diff) | |
download | gentoo-2274610a3adacc42b560ab36fae5498389c6790e.tar.gz gentoo-2274610a3adacc42b560ab36fae5498389c6790e.tar.bz2 gentoo-2274610a3adacc42b560ab36fae5498389c6790e.zip |
net-firewall/ufw: fix word split issue
Shellcheck found another SC2066 bug -- this is just a quick commit to
fix it and make the for loop work as intended.
Bug: https://bugs.gentoo.org/839216
Signed-off-by: Dustin Smith <smith.dustin2017@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26560
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-firewall/ufw')
-rw-r--r-- | net-firewall/ufw/ufw-0.36-r1.ebuild | 2 | ||||
-rw-r--r-- | net-firewall/ufw/ufw-0.36.1.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-firewall/ufw/ufw-0.36-r1.ebuild b/net-firewall/ufw/ufw-0.36-r1.ebuild index 052ffc4ee44e..5458db7c5f99 100644 --- a/net-firewall/ufw/ufw-0.36-r1.ebuild +++ b/net-firewall/ufw/ufw-0.36-r1.ebuild @@ -198,7 +198,7 @@ pkg_postinst() { print_check_req_warn=true else local rv - for rv in "${REPLACING_VERSIONS}"; do + for rv in ${REPLACING_VERSIONS}; do local major=${rv%%.*} local minor=${rv#${major}.} if [[ "${major}" -eq 0 && "${minor}" -lt 34 ]]; then diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index a4d9ce8191ff..d818538b68da 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -196,7 +196,7 @@ pkg_postinst() { print_check_req_warn=true else local rv - for rv in "${REPLACING_VERSIONS}"; do + for rv in ${REPLACING_VERSIONS}; do local major=${rv%%.*} local minor=${rv#${major}.} if [[ "${major}" -eq 0 && "${minor}" -lt 34 ]]; then |