diff options
| author | Mike McQuaid | 2014-03-06 20:40:26 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-08 00:54:35 +0000 |
| commit | 9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch) | |
| tree | 2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/nginx.rb | |
| parent | e6dd316f1e5988f50f524c627c38ce5473097cc1 (diff) | |
| download | homebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2 | |
formulae: fix with/without usage.
Closes #27275.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/nginx.rb')
| -rw-r--r-- | Library/Formula/nginx.rb | 10 |
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 |
