From 88f0bdb2aef02cf654d55336bfc40a09986dd631 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Sun, 17 Aug 2014 22:27:20 -0700 Subject: [PATCH] ./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63. --- util/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/configure b/util/configure index 5230482..ced81cc 100755 --- a/util/configure +++ b/util/configure @@ -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" : "");