mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63.
This commit is contained in:
2
util/configure
vendored
2
util/configure
vendored
@ -298,7 +298,7 @@ if (@ngx_ld_opts) {
|
|||||||
$ld_opts = " \\\n --with-ld-opt='@ngx_ld_opts'";
|
$ld_opts = " \\\n --with-ld-opt='@ngx_ld_opts'";
|
||||||
}
|
}
|
||||||
|
|
||||||
my $cmd = "./configure --prefix=$ngx_prefix"
|
my $cmd = "sh ./configure --prefix=$ngx_prefix"
|
||||||
. $resty_opts
|
. $resty_opts
|
||||||
. $ld_opts
|
. $ld_opts
|
||||||
. (@ngx_opts ? " \\\n @ngx_opts" : "");
|
. (@ngx_opts ? " \\\n @ngx_opts" : "");
|
||||||
|
Reference in New Issue
Block a user