Expand paths so that shortcuts like "~/Projects" work.

This commit is contained in:
Adam Sanderson 2010-11-10 18:59:57 -08:00
parent 1668fc3a55
commit dbaa732ae4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module Qwandry
path.each{|p| add label, p, repository_type} path.each{|p| add label, p, repository_type}
else else
label = label.to_s label = label.to_s
@repositories[label] << repository_type.new(label, path) @repositories[label] << repository_type.new(label, File.expand_path(path))
end end
end end