Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

passenger-install-nginx-module: correctly pass --extra-configure-flag…

…s flags when --auto-download is given. Fixes bug #349.
  • Loading branch information...
commit 9e62b29fe733c18c1d6f53c6300f89c40387d835 1 parent 0285eaf
@FooBarWidget FooBarWidget authored
Showing with 10 additions and 1 deletion.
  1. +5 −0 NEWS
  2. +5 −1 bin/passenger-install-nginx-module
View
5 NEWS
@@ -51,6 +51,11 @@ Release 2.2.5
end
}
+ * [Nginx] Fixed the installer's --extra-configure-flags flag when combined with --auto-download
+ Arguments passed to --extra-configure-flags were not being passed to the
+ Nginx configure script when --auto-download is given. This has been
+ fixed: bug #349.
+
* Fixed STDERR capturing
While spawning an application, Phusion Passenger captures any output written
to STDERR so that it can show them later if the application failed to start.
View
6 bin/passenger-install-nginx-module
@@ -77,7 +77,11 @@ class Installer < PhusionPassenger::AbstractInstaller
exit(1)
end
nginx_prefix = ask_for_nginx_install_prefix
- extra_nginx_configure_flags = nil
+ if @extra_configure_flags == "none"
+ extra_nginx_configure_flags = nil
+ else
+ extra_nginx_configure_flags = @extra_configure_flags
+ end
else
nginx_source_dir = ask_for_nginx_source_dir
nginx_prefix = ask_for_nginx_install_prefix
Please sign in to comment.
Something went wrong with that request. Please try again.