Make mod_wsgi and mod_python arch code more similar.
This commit is contained in:
parent
8fa99572f9
commit
3103ff4b9c
@ -130,7 +130,7 @@ def gzip path
|
||||
return Pathname.new(path+".gz")
|
||||
end
|
||||
|
||||
# returns array of architectures suitable for -arch gcc flag
|
||||
# Returns array of architectures that the given command is built for.
|
||||
def archs_for_command cmd
|
||||
cmd = cmd.to_s # If we were passed a Pathname, turn it into a string.
|
||||
cmd = `/usr/bin/which #{cmd}` unless Pathname.new(cmd).absolute?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user