./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63.

pull/65/merge
Yichun Zhang (agentzh) 11 years ago
parent 526c35ce2f
commit 88f0bdb2ae

2
util/configure vendored

@ -298,7 +298,7 @@ if (@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
. $ld_opts
. (@ngx_opts ? " \\\n @ngx_opts" : "");

Loading…
Cancel
Save