From ddf6d88cca1bf9e3cc1193d8cfdce1d351185727 Mon Sep 17 00:00:00 2001 From: Jan Hernas Date: Tue, 17 Oct 2023 12:52:05 +0200 Subject: [PATCH] Rename hook file name --- leo_gz_worlds/CMakeLists.txt | 2 +- leo_gz_worlds/hooks/gz_sim_resource_path.dsv | 1 - leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 leo_gz_worlds/hooks/gz_sim_resource_path.dsv create mode 100644 leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in diff --git a/leo_gz_worlds/CMakeLists.txt b/leo_gz_worlds/CMakeLists.txt index 7a02b44..a447add 100644 --- a/leo_gz_worlds/CMakeLists.txt +++ b/leo_gz_worlds/CMakeLists.txt @@ -19,6 +19,6 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() -ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.dsv") +ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.dsv.in") ament_package() diff --git a/leo_gz_worlds/hooks/gz_sim_resource_path.dsv b/leo_gz_worlds/hooks/gz_sim_resource_path.dsv deleted file mode 100644 index 591763b..0000000 --- a/leo_gz_worlds/hooks/gz_sim_resource_path.dsv +++ /dev/null @@ -1 +0,0 @@ -prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/leo_gz_worlds/worlds;share/leo_gz_worlds/models \ No newline at end of file diff --git a/leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in b/leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in new file mode 100644 index 0000000..ab9e6b3 --- /dev/null +++ b/leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in @@ -0,0 +1 @@ +prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/@PROJECT_NAME@/worlds;share/@PROJECT_NAME@/models \ No newline at end of file