1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00

dist-check: more tolerant about release numbers.

This commit is contained in:
Yichun Zhang (agentzh) 2014-08-20 14:44:22 -07:00
parent c8b64f9fd4
commit aa33a9e752

@ -14,7 +14,7 @@ getopts("lf:", \%opts) or die "Usage: $0 [-f] [-l] <cores>\n";
my $jobs = shift || 4;
my $cwd = cwd();
if ($cwd !~ /ngx_openresty-(\d+(?:\.\d+)+(?:rc\d+)?)$/) {
if ($cwd !~ /ngx_openresty-(\d+(?:\.\d+)+(?:rc\d+(?:\.\d+)?)?)$/) {
die "Bad current working directory: $cwd\n";
}