From dbaa732ae465e4debd2bd5233477f484604170a0 Mon Sep 17 00:00:00 2001 From: Adam Sanderson Date: Wed, 10 Nov 2010 18:59:57 -0800 Subject: [PATCH] Expand paths so that shortcuts like "~/Projects" work. --- lib/qwandry/launcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qwandry/launcher.rb b/lib/qwandry/launcher.rb index 240417a..93b32a7 100644 --- a/lib/qwandry/launcher.rb +++ b/lib/qwandry/launcher.rb @@ -26,7 +26,7 @@ module Qwandry path.each{|p| add label, p, repository_type} else label = label.to_s - @repositories[label] << repository_type.new(label, path) + @repositories[label] << repository_type.new(label, File.expand_path(path)) end end