From fb22ec23a73b91e37c99b8534219948db813a5ac Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 17 Apr 2024 21:05:12 -0300 Subject: [PATCH] Fix more shellcheck --- libexec/portzap/portzap-erase | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/portzap/portzap-erase b/libexec/portzap/portzap-erase index 663d482..e0fe1c0 100644 --- a/libexec/portzap/portzap-erase +++ b/libexec/portzap/portzap-erase @@ -13,7 +13,7 @@ printf " [*] %s \n" "${gitdir}" printf " [*] %s \n" "${installdir}\n" printf "[y|n] " while true; do - read r + read -r r if [ "${r}" = "y" ]; then break elif [ "${r}" = "n" ]; then @@ -25,7 +25,7 @@ while true; do fi done for dir in "${gitdir}" "${installdir}"; do - printf "${dir} " + printf "%s " "${dir}" find "${dir}" \ -maxdepth 1 \ \! -name "." \