$ENV{'DAQOPSERVER'} = $daqopserver if defined($daqopserver);
-my $dumpPath = DUMPPATH."/".$systemName;
+my $dumpPath = DUMPPATH.$systemName;
my $picPath = PICTUREPATH;
# $ENV{'DAQOPSERVER'}="localhost:7";
-
-unless(-e $dumpPath) {
+print "<pre>";
+unless(-e "$dumpPath") {
print "creating data dump directory: $dumpPath\n";
print_exec "mkdir -p $dumpPath";
- die "Unable to create $dumpPath\n" unless(-e $dumpPath);
+ die "Unable to create $dumpPath\n" unless(-e "$dumpPath");
}
+# Debugs/Tests
+# print_exec "whoami";
+# print_exec "mkdir /tmp/MAPS_PREV";
+# print_exec "ls /tmp";
+
unless(-e $picPath) {
print "creating plot directory: $picPath\n";
print_exec "mkdir -p $picPath";
# system("./init_setup.pl ".SETUPFILE);
my $dummy;
-print "<pre>";
print_exec "date";
print_exec "./init_setup.pl $setupFile";