]> matita.cs.unibo.it Git - helm.git/commitdiff
Better configuration management.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 25 Oct 2002 15:20:07 +0000 (15:20 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 25 Oct 2002 15:20:07 +0000 (15:20 +0000)
helm/proofChecker/proofChecker.pl

index fde4b43eaf3fa924a626d98f3ecff4a2b7102ce2..402bd3e98966583dd2f0ce6d14d2c317053381ff 100755 (executable)
@@ -10,8 +10,10 @@ use IPC::Open3;
 
 chdir $FindBin::Bin; # chdir to the directory of this perl script
 
-my $d = new HTTP::Daemon LocalPort => 8085
- or die "Error: port 8085 not available.";
+$proofcheckerport = $ENV{'PROOF_CHECKER_PORT'} || $proofcheckerport;
+
+my $d = new HTTP::Daemon LocalPort => $proofcheckerport
+ or die "Error: port $proofcheckerport not available.";
 print "Please contact me at: <URL:", $d->url, ">\n";
 
 my $IsProofCheckerLiving = 0;