From aa33a9e752c73e004cc648cafd57af95df012544 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Wed, 20 Aug 2014 14:44:22 -0700 Subject: [PATCH] dist-check: more tolerant about release numbers. --- util/dist-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/dist-check b/util/dist-check index 65da8c5..9b145cf 100755 --- a/util/dist-check +++ b/util/dist-check @@ -14,7 +14,7 @@ getopts("lf:", \%opts) or die "Usage: $0 [-f] [-l] \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"; }