diff --git a/lib/ceedling/configurator.rb b/lib/ceedling/configurator.rb index 3f9bd5d8..2feb91ba 100644 --- a/lib/ceedling/configurator.rb +++ b/lib/ceedling/configurator.rb @@ -371,7 +371,7 @@ def merge_config_plugins(config) # Special handling for plugin paths if (_config.include?( :paths )) _config[:paths].update( _config[:paths] ) do |k,v| - plugin_path = plugin.match( /(.*)[\/]config[\/]\w+\.yml/ )[1] + plugin_path = hash[:path].match( /(.*)[\/]config[\/]\w+\.yml/ )[1] v.map {|vv| File.expand_path( vv.gsub!( /\$PLUGIN_PATH/, plugin_path) ) } end end