From 3103ff4b9c73b8b461874799d4d47b4da25f3dda Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 12 Apr 2010 11:22:47 -0700 Subject: [PATCH] Make mod_wsgi and mod_python arch code more similar. --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index a0ec97af68..57f28f101a 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?