aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-12 11:22:47 -0700
committerAdam Vandenberg2010-04-12 11:22:47 -0700
commit3103ff4b9c73b8b461874799d4d47b4da25f3dda (patch)
tree1bc5ee5954597a0ac0c1bd0e393dc1c6f81cb29e /Library
parent8fa99572f94cfca174fb880fb4674598b4eed651 (diff)
downloadbrew-3103ff4b9c73b8b461874799d4d47b4da25f3dda.tar.bz2
Make mod_wsgi and mod_python arch code more similar.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index a0ec97af6..57f28f101 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -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?