Skip to content

Commit

Permalink
Fix the fakeroot task. Issue phusion#592.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Dec 11, 2010
1 parent 5b30a81 commit 13d8421
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/phusion_passenger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def self.natively_packaged?
NATIVELY_PACKAGED_SOURCE_ROOT = "/usr/share/phusion-passenger/source"
NATIVELY_PACKAGED_DOCDIR = "/usr/share/doc/phusion-passenger"
NATIVELY_PACKAGED_RESOURCES_DIR = "/usr/share/phusion-passenger"
NATIVELY_PACKAGED_AGENTS_DIR = "/usr/lib/phusion-passenger/agents"
NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR = "/usr/share/phusion-passenger/helper-scripts"
NATIVELY_PACKAGED_APACHE2_MODULE = "/usr/lib/apache2/modules/mod_passenger.so"

# Directory containing the Phusion Passenger Ruby libraries.
Expand Down Expand Up @@ -81,6 +83,10 @@ def self.natively_packaged?
# Directory containing Phusion Passenger resource files.
RESOURCES_DIR = File.join(SOURCE_ROOT, "resources")

AGENTS_DIR = File.join(SOURCE_ROOT, "agents")

HELPER_SCRIPTS_DIR = File.join(SOURCE_ROOT, "helper-scripts")

# Location of the Apache 2 module.
APACHE2_MODULE = File.join(SOURCE_ROOT, "ext", "apache2", "mod_passenger.so")

Expand All @@ -91,6 +97,8 @@ def self.natively_packaged?
SOURCE_ROOT = NATIVELY_PACKAGED_SOURCE_ROOT
DOCDIR = NATIVELY_PACKAGED_DOCDIR
RESOURCES_DIR = NATIVELY_PACKAGED_RESOURCES_DIR
AGENTS_DIR = NATIVELY_PACKAGED_AGENTS_DIR
HELPER_SCRIPTS_DIR = NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR
APACHE2_MODULE = NATIVELY_PACKAGED_APACHE2_MODULE
end

Expand Down

0 comments on commit 13d8421

Please sign in to comment.