mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
renamed ngx_openresty to openresty.
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user