This commit is contained in:
Glenn Y. Rolland 2011-08-17 16:25:45 +02:00
commit c2f87efd3e
2 changed files with 13 additions and 1 deletions

12
debian/changelog vendored
View file

@ -1,3 +1,15 @@
qasim (0.1.5) unstable; urgency=low
* map: Added missing require for fileutils.
-- Glenn ROLLAND <glenux@fr.st> Tue, 09 Aug 2011 22:46:33 +0200
qasim (0.1.4) unstable; urgency=low
* Fixed localpath bug.
-- Glenn ROLLAND <glenux@fr.st> Tue, 09 Aug 2011 22:35:10 +0200
qasim (0.1.3) unstable; urgency=low qasim (0.1.3) unstable; urgency=low
* Create mountpoint if non-existant. * Create mountpoint if non-existant.

View file

@ -144,8 +144,8 @@ module Qasim
# #
# FIXME: test connexion with Net::SSH + timeout or ask password # FIXME: test connexion with Net::SSH + timeout or ask password
@links.each do |name, remotepath| @links.each do |name, remotepath|
FileUtils.mkdir_p localpath
localpath = File.join ENV['HOME'], "mnt", name localpath = File.join ENV['HOME'], "mnt", name
FileUtils.mkdir_p localpath
cmd = "sshfs" cmd = "sshfs"
cmd_args = [ cmd_args = [
"-o","allow_root" , "-o","allow_root" ,