superenv: svn should provide a list, not a string

Closes Homebrew/homebrew#19601.
This commit is contained in:
Adam Vandenberg 2013-05-03 15:53:45 -07:00
parent 1c12c8b7a2
commit 9f853973d7

View File

@ -25,7 +25,7 @@ end
case F.downcase case F.downcase
when 'git' then %W{HOMEBREW_GIT GIT} when 'git' then %W{HOMEBREW_GIT GIT}
when 'svn' then "HOMEBREW_SVN" when 'svn' then %W{HOMEBREW_SVN}
else [] else []
end.each do |key| end.each do |key|
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key] exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]