Skip to content
Snippets Groups Projects
Commit 496e9ef1 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing show solutions

parent 1bd4e0e8
No related branches found
No related tags found
No related merge requests found
......@@ -13,12 +13,18 @@ function possible_solutions {
echo "$sol $com"
sol=`expr $sol + 1`
done
sol_sk=$sol
echo "$sol continue"
sol=`expr $sol + 1`
echo "$sol exit the script"
echo -e "\033[1;34;5mChoose the solution:\033[0m"
read choose
if [ x"$choose" = x"$sol" ]; then
exit 1
fi
if [ x"$choose" = x"$sol_sk" ]; then
return
fi
possible_solutions_ret=`expr $choose - 1`
echo "Executing: ${command[$possible_solutions_ret]}"
if [ -a input_install ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment