diff --git a/util/dist-check b/util/dist-check index 800ecbd..04301d9 100755 --- a/util/dist-check +++ b/util/dist-check @@ -14,7 +14,7 @@ getopts("lf:", \%opts) or die "Usage: $0 [-f] \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"; }