Fix more shellcheck

This commit is contained in:
0x1eef 2024-04-17 21:05:12 -03:00
parent 12012f8112
commit fb22ec23a7

View file

@ -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 "." \