]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/proofChecker/proofChecker.pl
Better configuration management.
[helm.git] / 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;