Commit 496e9ef1 authored by incardon's avatar incardon

Fixing show solutions

parent 1bd4e0e8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment