aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nginx.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/nginx.rb')
-rw-r--r--Library/Formula/nginx.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 8966c1647..554bd8212 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -72,11 +72,11 @@ class Nginx < Formula
"--with-http_gzip_static_module"
]
- args << passenger_config_args if build.include? 'with-passenger'
- args << "--with-http_dav_module" if build.include? 'with-webdav'
- args << "--with-debug" if build.include? 'with-debug'
- args << "--with-http_spdy_module" if build.include? 'with-spdy'
- args << "--with-http_gunzip_module" if build.include? 'with-gunzip'
+ args << passenger_config_args if build.with? "passenger"
+ args << "--with-http_dav_module" if build.with? "webdav"
+ args << "--with-debug" if build.with? "debug"
+ args << "--with-http_spdy_module" if build.with? "spdy"
+ args << "--with-http_gunzip_module" if build.with? "gunzip"
if build.head?
system "./auto/configure", *args