From 8343912abb5a5fea84035b7a1162edf3bd2f308d Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 7 Aug 2011 17:44:28 +0200 Subject: [PATCH] Create mountpoint. --- debian/changelog | 6 ++++++ qasim/map.rb | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3118f13..86bfd1c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +qasim (0.1.3) unstable; urgency=low + + * Create mountpoint if non-existant. + + -- Glenn Y. Rolland Sun, 07 Aug 2011 17:43:56 +0200 + qasim (0.1.2) unstable; urgency=low * Disabled rdebug & added another missing dependency. diff --git a/qasim/map.rb b/qasim/map.rb index 92ebe59..926e1bf 100644 --- a/qasim/map.rb +++ b/qasim/map.rb @@ -143,6 +143,7 @@ module Qasim # # FIXME: test connexion with Net::SSH + timeout or ask password @links.each do |name, remotepath| + FileUtils.mkdir_p localpath localpath = File.join ENV['HOME'], "mnt", name cmd = "sshfs" cmd_args = [