Permalink
Browse files

Allow specifying the location of apxs2 and apr-config through command…

… line parameters. Fixes issue #3.
  • Loading branch information...
1 parent 529aef8 commit 50750b1b5383f84ac8ae34567c4a6214887f8a2b @FooBarWidget FooBarWidget committed Nov 17, 2009
Showing with 10 additions and 0 deletions.
  1. +4 −0 NEWS
  2. +6 −0 bin/passenger-install-apache2-module
View
4 NEWS
@@ -19,6 +19,10 @@ Release 2.2.6
than Rails. This allows one to drop a config.ru file in a Rails directory
and have it detected as a Rack application instead of a Rails application.
Patch contributed by Sam Pohlenz: issue #338.
+ * [Apache] The location of the 'apxs' and 'apr-config' commands can now
+ also be passed to the installer through the --apxs-path and
+ --apr-config-path parameters, in addition to the $APXS2 and $APR_CONFIG
+ environment variables. Issue #3.
Release 2.2.5
@@ -204,6 +204,12 @@ parser = OptionParser.new do |opts|
"#{' ' * 37}input.") do
options[:auto] = true
end
+ opts.on("--apxs2-path PATH", String, "Path to 'apxs2' command.") do |value|
+ ENV['APXS2'] = value
+ end
+ opts.on("--apr-config-path PATH", String, "Path to 'apr-config' command.") do |value|
+ ENV['APR_CONFIG'] = value
+ end
end
begin
parser.parse!

0 comments on commit 50750b1

Please sign in to comment.