Skip to content

Commit

Permalink
Remove deprecations: tock (#145)
Browse files Browse the repository at this point in the history
* Remove deprecations: tock
---------

Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero authored Dec 18, 2024
1 parent d29e212 commit 4f738f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions src/gz.in
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit 4f738f4

Please sign in to comment.