sshfs-mapper: clean-up config.rb

git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1517 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
Glenn Y. Rolland 2010-01-24 18:30:42 +00:00
parent e4f717c7a3
commit 4d5d325ab7

View file

@ -39,13 +39,12 @@ module SshfsMapper
end
def parseFile( &blk )
puts "Parsing config #{@config_dir}/config"
puts "Config: #{@config_dir}/config"
maps = []
Find.find( @config_dir ) do |path|
if File.file?( path )
if File.basename( path ) =~ /.map$/
puts "* #{File.basename( path )}"
begin
map = Map.new( path )
map.parse()