From d45ccd9041deca1d6d10f5da1b60ccd63b13b7ce Mon Sep 17 00:00:00 2001
From: Patricia Mendez Lorenzo <patricia.mendez@cern.ch>
Date: Thu, 20 Aug 2015 16:17:17 +0200
Subject: [PATCH] extending isDone to an unstable value

---
 cdash/isDone.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cdash/isDone.sh b/cdash/isDone.sh
index 31a844bd1a..648cf7ce00 100755
--- a/cdash/isDone.sh
+++ b/cdash/isDone.sh
@@ -19,7 +19,11 @@ donefile=$nightdir/$SLOTNAME/$today/isDone-$platform
 if [ $isdone == 1 ]; then
   touch $donefile
   echo "Created file $donefile"
+elif [ $isdone == 2 ]; then
+  touch unstable-$donefile
+  echo "Created file unstable-$donefile"
 else
   rm -f $donefile
-  echo "Removed file $donefile"
+  rm -f unstable-$donefile
+  echo "Removed file $donefile and unstable-$donefile"
 fi
-- 
GitLab