From 3a873d7874f13ed18b3497af98a8c634e655f9fe Mon Sep 17 00:00:00 2001 From: "agentzh (Yichun Zhang)" Date: Sat, 20 Apr 2013 23:08:41 -0700 Subject: [PATCH] util/dist-check: added support for rc versions. --- util/dist-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }