From: www@jspc55 Date: Tue, 3 Jun 2014 15:05:01 +0000 (+0200) Subject: obligatory fix to the last commit, haha X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=46768d3ae4ef30b84bb55329ddda4082c3c5efde;p=mvdsensorcontrol.git obligatory fix to the last commit, haha --- diff --git a/tools/startup.pl b/tools/startup.pl index 06a1981..f0e0acd 100755 --- a/tools/startup.pl +++ b/tools/startup.pl @@ -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'};