Permalink
Browse files

fixed problem with passwords for filetransfer

  • Loading branch information...
1 parent 703c422 commit 1fda3a4768e034058b77e7decd47f4225f771150 @jedi4ever jedi4ever committed Feb 7, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Gemfile.lock
  2. +1 −1 lib/veewee/session.rb
  3. +1 −1 lib/veewee/version.rb
View
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- veewee (0.1.6)
+ veewee (0.1.7)
highline (~> 1.6.1)
net-ssh (~> 2.1.0)
popen4 (~> 0.1.2)
View
@@ -280,7 +280,7 @@ def self.build(boxname,options)
Veewee::Ssh.when_ssh_login_works("localhost",ssh_options) do
- Veewee::Ssh.transfer_file("localhost",filename,filename,ssh_options)
+ Veewee::Ssh.transfer_file("localhost",filename,File.basename(filename),ssh_options)
command=@definition[:sudo_cmd]
command.gsub!(/%p/,"#{@definition[:ssh_password]}")
command.gsub!(/%u/,"#{@definition[:ssh_user]}")
View
@@ -1,3 +1,3 @@
module Veewee
- VERSION = "0.1.6"
+ VERSION = "0.1.7"
end

0 comments on commit 1fda3a4

Please sign in to comment.