Permalink
Browse files

update debug output

20070812205409-42483-80348aaf28219d0717ec9abed221621b81566d27.gz
  • Loading branch information...
1 parent 33f4d8e commit 6dfbbd68c672725d20763c003d09ab9c57cd6f76 @copiousfreetime copiousfreetime committed with git-darcs-import Aug 12, 2007
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/launchy/spawnable/application.rb
  2. +2 −2 lib/launchy/spawnable/browser.rb
@@ -85,7 +85,7 @@ def my_os_family(test_os = my_os)
when /cygwin/i
family = :nix
else
- $stderr.puts "Unknown OS familiy for '#{test_os}'. Please report this bug."
+ $stderr.puts "Unknown OS familiy for '#{test_os}'. Please report this bug to #{Launchy::SPEC.email}"
family = :unknown
end
end
@@ -73,8 +73,8 @@ def browser
Launchy.log "Using BROWSER environment variable : #{ENV['BROWSER']}"
@browser = ENV['BROWSER']
else
- @browser = app_list.find { |bin| find_executable(bin) }.find { |x| not x.nil? }
- Launchy.log "Using application list : #{@browser}"
+ @browser = app_list.collect { |bin| find_executable(bin) }.find { |x| not x.nil? }
+ Launchy.log "Using application list : #{@browser}"
end
end
return @browser

0 comments on commit 6dfbbd6

Please sign in to comment.