From 496e9ef1b36b442c67ce0e687dc964071b2aacef Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Wed, 9 Nov 2016 00:42:20 +0100
Subject: [PATCH] Fixing show solutions

---
 script/show_solutions | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/script/show_solutions b/script/show_solutions
index 66c128eda..e1d088f3d 100755
--- a/script/show_solutions
+++ b/script/show_solutions
@@ -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
-- 
GitLab