]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Modified some code
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jan 2012 11:12:22 +0000 (11:12 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jan 2012 11:12:22 +0000 (11:12 +0000)
PWG2/FORWARD/analysis2/qa/RunQA.C
PWG2/FORWARD/analysis2/qa/RunQA.sh

index 1c4c421f7a3aa2aa1540e0437fb314316b314df6..4010b82f312e5c6dc2b2fd82a986088c2c0a5d8c 100644 (file)
@@ -16,6 +16,7 @@
  * 
  * @return true on success
  * 
+ * @deprecated Use the RunFileQA and RunFinalQA instead. 
  * @ingroup pwg2_forward_qa_scripts
  */
 Bool_t ScanDirectory(TSystemDirectory* dir, TList* list, 
index 32d31d092356e39dc33875cb8a6a76a46eac09ec..4e6304b76ead5baf9126af91b790d9c9703b9a24 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-
+#
+# This is deprecated.  Use RunQAMT.sh instead
+#
 jobid=0
 top=.
 verb=0
@@ -119,6 +121,18 @@ disable_trap ()
 }
 
 
+# --- Deprecated -----------------------------------------------------
+cat <<EOF
+This script is deprecated.  You should use the more advanced script RunQAMT.sh 
+which process the runs in parallel and in general is more flexible
+EOF
+read -n 1 -i n -p "Do you want to continue [yN]? "
+case $REPLY in 
+    y|Y) echo "" ;; 
+    *) exit 0 ;; 
+esac
+
+
 # --- comamnd line ---------------------------------------------------
 while test $# -gt 0 ; do 
     case $1 in