mirror of
				https://github.com/openresty/openresty.git
				synced 2024-10-13 00:29:41 +00:00 
			
		
		
		
	util/dist-check: added support for rc versions.
This commit is contained in:
		@ -14,7 +14,7 @@ getopts("lf:", \%opts) or die "Usage: $0 [-f] <cores>\n";
 | 
			
		||||
my $jobs = shift || 4;
 | 
			
		||||
 | 
			
		||||
my $cwd = cwd();
 | 
			
		||||
if ($cwd !~ /ngx_openresty-(\d+(?:\.\d+)+)$/) {
 | 
			
		||||
if ($cwd !~ /ngx_openresty-(\d+(?:\.\d+)+(?:rc\d+)?)$/) {
 | 
			
		||||
    die "Bad current working directory: $cwd\n";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user