Fix shellcheck
This commit is contained in:
parent
c5afecc284
commit
12012f8112
1 changed files with 3 additions and 3 deletions
|
@ -9,8 +9,8 @@ installdir=$2
|
||||||
# main
|
# main
|
||||||
printf "[-] Are you sure ? \n"
|
printf "[-] Are you sure ? \n"
|
||||||
printf "[-] These directories will be erased:\n"
|
printf "[-] These directories will be erased:\n"
|
||||||
printf " [*] ${gitdir}\n"
|
printf " [*] %s \n" "${gitdir}"
|
||||||
printf " [*] ${installdir}\n"
|
printf " [*] %s \n" "${installdir}\n"
|
||||||
printf "[y|n] "
|
printf "[y|n] "
|
||||||
while true; do
|
while true; do
|
||||||
read r
|
read r
|
||||||
|
@ -20,7 +20,7 @@ while true; do
|
||||||
printf "[-] Nothing to do\n"
|
printf "[-] Nothing to do\n"
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
printf "[-] '${r}' is not a valid option.\n"
|
printf "[-] '%s' is not a valid option.\n" "${r}"
|
||||||
printf "[y|n] "
|
printf "[y|n] "
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue