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:
parent
e4f717c7a3
commit
4d5d325ab7
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue