Skip to content

Commit

Permalink
Update nginx-full.rb
Browse files Browse the repository at this point in the history
just forget to modify the option "with-upload_module" to "with-upload" at line 245.
submit it again
  • Loading branch information
woolf-wen committed Jan 5, 2014
1 parent 20670aa commit 5f11306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx-full.rb
Expand Up @@ -77,6 +77,7 @@ def options_array
['with-mp4-h264-module', nil, 'Compile with support for HTTP MP4/H264 Module'],
['with-notice-module', nil, 'Compile with support for HTTP Notice Module'],
['with-subs-filter', nil, 'Compile with support for Substitutions Filter Module'],
['with-upload', nil, 'Compile with support for Upload module']
# Internal modules
['with-webdav', 'with-http_dav_module', 'Compile with support for WebDAV module'],
['with-debug', 'with-debug', 'Compile with support for debug log'],
Expand All @@ -100,8 +101,7 @@ def options_array
['with-xslt', 'with-http_xslt_module', 'Compile with support for XSLT module'],
['with-pcre-jit', 'with-pcre-jit', 'Compile with support for JIT in PCRE'],
['with-auth-req', 'with-http_auth_request_module','Compile with support for HTTP Auth Request Module'],
['with-mail', 'with-mail', 'Compile with support for Mail module'],
['with-upload', 'with-upload_module', 'Compile with support for Upload module']
['with-mail', 'with-mail', 'Compile with support for Mail module']
]
end
def options
Expand Down Expand Up @@ -242,7 +242,7 @@ def install
args << "--add-module=#{HOMEBREW_PREFIX}/share/subs-filter-nginx-module" if build.include? "with-subs-filter-module"

# file upload
args << "--add-module=#{HOMEBREW_PREFIX}/share/upload-nginx-module" if build.include? "with-upload-module"
args << "--add-module=#{HOMEBREW_PREFIX}/share/upload-nginx-module" if build.include? "with-upload"

if build.head?
system "./auto/configure", *args
Expand Down

0 comments on commit 5f11306

Please sign in to comment.