diff --git a/Migration.md b/Migration.md index ae59219..bf35224 100644 --- a/Migration.md +++ b/Migration.md @@ -5,6 +5,11 @@ Deprecated code produces compile-time warnings. These warning serve as notification to users that their code should be upgraded. The next major release will remove the deprecated code. +## Gazebo Tools 2.X to 3.X + +* The environment variable `IGN_CONFIG_PATH` is removed. +Use `GZ_CONFIG_PATH` instead. + ## Gazebo Tools 1.X to 2.X * This package now depends on gz-cmake diff --git a/src/gz.in b/src/gz.in index 14e456f..12ba4be 100755 --- a/src/gz.in +++ b/src/gz.in @@ -49,12 +49,8 @@ yaml_found = false conf_dirs = '@CMAKE_INSTALL_PREFIX@/share/gz/' conf_dirs = ENV['GZ_CONFIG_PATH'] if ENV.key?('GZ_CONFIG_PATH') - conf_dirs = conf_dirs.split('@ENV_PATH_DELIMITER@') -# Deprecated -conf_dirs.append(ENV['IGN_CONFIG_PATH']) if ENV.key?('IGN_CONFIG_PATH') - conf_dirs.each do |conf_directory| next if Dir.glob(conf_directory + '/*.yaml').empty?