]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
obligatory fix to the last commit, haha
authorwww@jspc55 <www@jspc55>
Tue, 3 Jun 2014 15:05:01 +0000 (17:05 +0200)
committerwww@jspc55 <www@jspc55>
Tue, 3 Jun 2014 15:05:01 +0000 (17:05 +0200)
tools/startup.pl

index 06a1981fc570630bd630398c5f9ac364b77a9ab8..f0e0acdec0a18c2df45f8d98bb9fcd5fadc4cfa8 100755 (executable)
@@ -157,24 +157,20 @@ print $chainsinifile $chainsini;
 $chainsinifile->close();
   
   
-print Dumper @CbCommands;
-  
 ###############################
 ## Do whatever has to be done
 ###############################
 
 # configure Converter Boards
-my $here = cwd();
-chdir(XMLDBPATH);
+local $CWD = XMLDBPATH;
+delete $ENV{'QUERY_STRING'};
 foreach my $cmd (@CbCommands){
   my $entity = "CbController";
   my $addr = $cmd->{addr};
   my $value = $cmd->{value};
   my $fieldname = $cmd->{name};
   execute("./put.pl $entity $addr $fieldname $value");
-
 }
-chdir($here);
 
 
 local $CWD = $ENV{'JTAGPATH'};