Fix obsolete function call.

This commit is contained in:
Glenn Y. Rolland 2014-10-27 21:04:09 +01:00
parent b1c7a5ed13
commit 1724b509a1

View file

@ -34,7 +34,7 @@ module Qasim
@maps = [] @maps = []
map_dirs = [@config_dir, APP_SYSCONFIG_DIR].select{ |d| map_dirs = [@config_dir, APP_SYSCONFIG_DIR].select{ |d|
File.exists? d and File.directory? d File.exist? d and File.directory? d
} }
Find.find( *map_dirs ) do |path| Find.find( *map_dirs ) do |path|
if File.file? path if File.file? path