doxy: quit from helper conversion script
authordberzano <dario.berzano@cern.ch>
Thu, 5 Feb 2015 19:11:25 +0000 (20:11 +0100)
committerdberzano <dario.berzano@cern.ch>
Tue, 10 Feb 2015 15:21:12 +0000 (16:21 +0100)
doxygen/debug/run.sh

index 3fab999..6c8ec40 100755 (executable)
@@ -49,7 +49,7 @@ for F in ${Files[@]} ; do
       AliRootLen=${#ALICE_ROOT}
       FNorm=${FNorm:$AliRootLen}
       echo -e "\033[35mFile \033[34m${FNorm}\033[m"
-      echo -e -n "\033[35mWhat to do? \033[34medit, stage, parts, continue, restore\033[m \033[35m> \033[m"
+      echo -e -n "\033[35mWhat to do? \033[34medit, stage, parts, continue, restore, restorequit\033[m \033[35m> \033[m"
       read ans
       case "$ans" in
         edit)
@@ -73,6 +73,10 @@ for F in ${Files[@]} ; do
           git checkout "$F" || exit 1
           break
         ;;
+        restorequit)
+          git checkout "$F" || exit 1
+          exit 0
+        ;;
       esac
     done
   fi