]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
created Environment.pm with all important hardcoded settings
authorJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 16:19:12 +0000 (18:19 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 16:19:12 +0000 (18:19 +0200)
1  2 
tools/preview/exec_evtbuild_t.pl
tools/run.pl

Simple merge
diff --cc tools/run.pl
index 29c6dc30753d422af6d7bee306bdbfb05e0284f6,e1e3f9c1a43e0ce53f148aca16a3cac1edad84c4..55e62b205c6d7b7d16c07b43f265b9c22a6f9005
@@@ -7,7 -7,8 +7,12 @@@ use strict
  use warnings;
  use POSIX;
  use CGI ':standard';
++<<<<<<< HEAD
 +# use Cwd;
++=======
+ use Cwd;
++>>>>>>> 23c29745c883ce981ed72e273f6aac8ccccab503
  use CGI::Carp qw(fatalsToBrowser);
  use HTML::Entities;
  # require Common;
@@@ -30,20 -30,25 +39,37 @@@ print start_html
  -style=>{'src'=>'../layout/styles.css'}
  );
  
- # print h2("testgui");
- # print "<p> still more to come </p>";
+ if( $q->param('runtime') ) {
+   $runtime = $q->param('runtime');
+ }
  
++<<<<<<< HEAD
 +# print escapeHTML("hallo<<<>>>&&&!!"),br;
 +# print escapeHTML($here);
 +# $ENV{'PATH'}=$ENV{'PATH'}.":/home/hadaq/bin";
 +# $ENV{'PATH'}=$ENV{'PATH'}.":/local.1/bastelstube/daqdata/bin";
++=======
+ $ENV{'PATH'}=$ENV{'PATH'}.":/local.1/bastelstube/daqdata/bin";
++>>>>>>> 23c29745c883ce981ed72e273f6aac8ccccab503
  # print br,$ENV{'PATH'},br;
 -$ENV{'JTAGPATH'}="/local.1/jtag_mvd/soft/toolbox/jtag_atomic/";
 -$ENV{'DAQOPSERVER'}="localhost:7";
 +$ENV{'JTAGPATH'}="/local.1/jtag_mvd/soft/toolbox/jtag_atomic/";
 +$ENV{'DAQOPSERVER'}="localhost:7";
  
+ unless(-e $dumpPath or mkdir $dumpPath) {
+   die "Unable to create $dumpPath\n";
+ }
  
+ unless(-e $picPath or mkdir $picPath) {
+   die "Unable to create $picPath\n";
+ }
++<<<<<<< HEAD
 +system("./startup.pl ".SETUPFILE);
 +chdir("preview");
++=======
+ system("./startup.pl ../setup/testsetup.xml");
+ # chdir("preview");
++>>>>>>> 23c29745c883ce981ed72e273f6aac8ccccab503
  
  my $dummy;