You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/07/24 16:24:18 UTC

svn commit: r1880275 - /httpd/apreq/trunk/build/version_check.pl

Author: jorton
Date: Fri Jul 24 16:24:18 2020
New Revision: 1880275

URL: http://svn.apache.org/viewvc?rev=1880275&view=rev
Log:
Fix error if run without arguments.

Modified:
    httpd/apreq/trunk/build/version_check.pl

Modified: httpd/apreq/trunk/build/version_check.pl
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/build/version_check.pl?rev=1880275&r1=1880274&r2=1880275&view=diff
==============================================================================
--- httpd/apreq/trunk/build/version_check.pl (original)
+++ httpd/apreq/trunk/build/version_check.pl Fri Jul 24 16:24:18 2020
@@ -140,7 +140,7 @@ WARN
     close $fh;
 }
 
-if ($path eq 'perl_prereqs') {
+if (defined $path and $path eq 'perl_prereqs') {
     print perl_prereqs();
     exit;
 }