util/dist-check: added support for rc versions.

pull/34/merge
agentzh (Yichun Zhang) 12 years ago
parent aadd93ff24
commit 3a873d7874

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

Loading…
Cancel
Save