Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7901)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7902)
@@ -18,4 +18,29 @@
 
                                                  -*-*- END OF LINE -*-*-
+ 2006/08/22 Daniela Dorner
+
+   * datacenter/scripts/buildsequenceentries, 
+     datacenter/scripts/checkfilesforsequenceavail, 
+     datacenter/scripts/checkstardone, datacenter/scripts/copyscript, 
+     datacenter/scripts/correcttime, datacenter/scripts/dodatacheck, 
+     datacenter/scripts/doexclusions, datacenter/scripts/doqualityplots, 
+     datacenter/scripts/dowebplots, datacenter/scripts/filesondisk, 
+     datacenter/scripts/fillcallisto, datacenter/scripts/fillganymed, 
+     datacenter/scripts/fillstar, datacenter/scripts/insertdatasets, 
+     datacenter/scripts/insertsequences, datacenter/scripts/linkmc, 
+     datacenter/scripts/makecallistolinks, 
+     datacenter/scripts/mcsequences, datacenter/scripts/movingrawfiles, 
+     datacenter/scripts/processmcsequences, datacenter/scripts/rmlocks, 
+     datacenter/scripts/runcallisto, datacenter/scripts/runganymed, 
+     datacenter/scripts/runstar, datacenter/scripts/writesequencefiles, 
+     datacenter/scripts/sourcefile: 
+     - implemented possibility to run several tests by one user 
+       (relative path for Mars version)
+
+   * datacenter/scripts/sourcefile: 
+     - included webpath
+
+
+
  2006/08/22 Thomas Bretz
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=buildsequenceentries
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=checkfilesavail
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 table=SequenceProcessStatus
Index: trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7902)
@@ -38,5 +38,5 @@
 
 program=checkstardone
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 table=DataSetProcessStatus
Index: trunk/MagicSoft/Mars/datacenter/scripts/copyscript
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/copyscript	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/copyscript	(revision 7902)
@@ -58,5 +58,5 @@
 
 program=copyscript
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/correcttime
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/correcttime	(revision 7902)
@@ -39,5 +39,5 @@
 
 program=correct_raw_time
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 table=RunProcessStatus
Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7902)
@@ -41,5 +41,5 @@
 
 program=datacheck
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doexclusions	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=doexclusions
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots	(revision 7902)
@@ -34,5 +34,5 @@
 
 program=doqualityplots
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 7902)
@@ -33,5 +33,5 @@
 
 program=dowebplots
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/filesondisk
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/filesondisk	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/filesondisk	(revision 7902)
@@ -45,5 +45,5 @@
 # 
 
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7902)
@@ -38,5 +38,5 @@
 
 program=fillcallisto
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=fillganymed
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/fillstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=fillstar
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets	(revision 7902)
@@ -33,5 +33,5 @@
 
 program=insertdatasets
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/insertsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/insertsequences	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/insertsequences	(revision 7902)
@@ -34,5 +34,5 @@
 
 program=insertsequences
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/linkmc
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/linkmc	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/linkmc	(revision 7902)
@@ -43,5 +43,5 @@
 
 program=linkmc
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 7902)
@@ -34,5 +34,5 @@
 
 program=makecallistolinks
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/mcsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/mcsequences	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/mcsequences	(revision 7902)
@@ -35,5 +35,5 @@
 
 program=mcsequences
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 7902)
@@ -30,5 +30,5 @@
 # 
 
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences	(revision 7902)
@@ -33,5 +33,5 @@
 
 program=processmcsequences
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/rmlocks
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/rmlocks	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/rmlocks	(revision 7902)
@@ -37,5 +37,5 @@
 #
 
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 files=`ls $lockpath/*`
Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7902)
@@ -38,5 +38,5 @@
 
 program=callisto
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/runganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runganymed	(revision 7902)
@@ -38,5 +38,5 @@
 
 program=ganymed
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/runstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 7902)
@@ -38,5 +38,5 @@
 
 program=star
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7902)
@@ -33,5 +33,6 @@
 export PATH=$PATH:$ROOTSYS/bin
 
-mars=/home/`whoami`/Mars
+mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
+
 macrospath=$mars/datacenter/macros
 scriptspath=$mars/datacenter/scripts
@@ -46,4 +47,6 @@
 sequpath=/magic/sequences
 datasetpath=/magic/datasets
+
+webpath=/www/htdocs/datacenter
 
 datetime=`date +%F-%H-%M-%S`
Index: trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7901)
+++ trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7902)
@@ -37,5 +37,5 @@
 
 program=writesequencefile
-source /home/`whoami`/Mars/datacenter/scripts/sourcefile
+source `dirname $0`/sourcefile
 
 set -C
