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

This commit is contained in:
Yichun Zhang (agentzh) 2014-08-17 22:27:20 -07:00
parent 526c35ce2f
commit 88f0bdb2ae
1 changed files with 1 additions and 1 deletions

2
util/configure vendored
View File

@ -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" : "");