renamed ngx_openresty to openresty.

This commit is contained in:
Yichun Zhang (agentzh)
2016-01-25 14:33:53 -08:00
parent 0e31ce1662
commit 52962f3fc9
10 changed files with 22 additions and 21 deletions

View File

@ -15,7 +15,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+(?:\.\d+)?)?)$/) {
if ($cwd !~ /openresty-(\d+(?:\.\d+)+(?:rc\d+(?:\.\d+)?)?)$/) {
die "Bad current working directory: $cwd\n";
}

View File

@ -8,7 +8,7 @@ sub cd ($);
my $ver = `bash util/ver`;
chomp $ver;
cd "ngx_openresty-$ver/bundle";
cd "openresty-$ver/bundle";
opendir(my $dh, '.') or
die "cannot opendir .: $!";
@ -45,7 +45,7 @@ for my $t_file (@t_files) {
warn "\n- $orig";
warn "+ $_";
} elsif (s{ngx_openresty-\d+\.\d+\.\d+\.\d+(?:rc\d+)?}{ngx_openresty-$ver} && $orig ne $_) {
} elsif (s{openresty-\d+\.\d+\.\d+\.\d+(?:rc\d+)?}{openresty-$ver} && $orig ne $_) {
$changed++;
warn "\n- $orig";

View File

@ -5,11 +5,11 @@ root=`perl -MCwd -e'print Cwd::abs_path(shift)' $(dirname -- "$0")/..`
info_txt=`perl -e 'print "\033[33m[INFO]\033[0m"'`
echo -n "ngx_openresty "
echo -n "openresty "
. ./util/ver
echo
name=ngx_openresty-$version
name=openresty-$version
work=$root/work
if [ -z $debug ]; then