Skip to content

Commit

Permalink
Use current UNIX user, incase your name isn't Clint
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Jan 28, 2011
1 parent 0e63689 commit 816935c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/growl-transfer/gt_scp.rb
Expand Up @@ -8,7 +8,7 @@ def download(remote, local_path)
@output.puts "Downloading #{remote}"
params = remote.split(":")
file = params.last.split("/").last
Net::SCP.start(params[0], "clint") do |scp|
Net::SCP.start(params[0], ENV['USER']) do |scp|
scp.download!(params[1], local_path, {:recursive => true, :verbose => true}) do |ch, name, sent, total|
# => progress?
end
Expand Down

0 comments on commit 816935c

Please sign in to comment.