Fix more shellcheck
This commit is contained in:
parent
12012f8112
commit
fb22ec23a7
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ printf " [*] %s \n" "${gitdir}"
|
||||||
printf " [*] %s \n" "${installdir}\n"
|
printf " [*] %s \n" "${installdir}\n"
|
||||||
printf "[y|n] "
|
printf "[y|n] "
|
||||||
while true; do
|
while true; do
|
||||||
read r
|
read -r r
|
||||||
if [ "${r}" = "y" ]; then
|
if [ "${r}" = "y" ]; then
|
||||||
break
|
break
|
||||||
elif [ "${r}" = "n" ]; then
|
elif [ "${r}" = "n" ]; then
|
||||||
|
@ -25,7 +25,7 @@ while true; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for dir in "${gitdir}" "${installdir}"; do
|
for dir in "${gitdir}" "${installdir}"; do
|
||||||
printf "${dir} "
|
printf "%s " "${dir}"
|
||||||
find "${dir}" \
|
find "${dir}" \
|
||||||
-maxdepth 1 \
|
-maxdepth 1 \
|
||||||
\! -name "." \
|
\! -name "." \
|
||||||
|
|
Loading…
Reference in a new issue