]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
temporary override of non-existing DAQOP server
authorJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 15:06:14 +0000 (17:06 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 15:06:14 +0000 (17:06 +0200)
xml-db/get.pl

index 412160bc0817687dc10a23cb52ae416a24582b3c..7c950f0de1ff75b0477628ac035dc29caf06bb37 100755 (executable)
@@ -20,7 +20,7 @@ my $verbose = 0;
 my $isbrowser = 0;
 
 my ($file,$netaddr,$name, $option);
-
+$ENV{'DAQOPSERVER'}="localhost:7" unless (defined $ENV{'DAQOPSERVER'});
 
 ###############################
 #### Check if browser or command line