From 63c933f01db0974765a5129c1d0daaf9b76c1b06 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Sun, 4 Aug 2013 12:57:38 -0700 Subject: [PATCH] update non-bash env hooks to use runtime context (ros/catkin#490) --- tools/rosbash/env-hooks/15.rosbash.tcsh.em | 2 +- tools/rosbash/env-hooks/15.rosbash.zsh.em | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rosbash/env-hooks/15.rosbash.tcsh.em b/tools/rosbash/env-hooks/15.rosbash.tcsh.em index 2f7fbc71..945dabfc 100644 --- a/tools/rosbash/env-hooks/15.rosbash.tcsh.em +++ b/tools/rosbash/env-hooks/15.rosbash.tcsh.em @@ -3,5 +3,5 @@ @[if DEVELSPACE]@ . "@(CMAKE_CURRENT_SOURCE_DIR)/rostcsh" @[else]@ -. "@(CMAKE_INSTALL_PREFIX)/share/rosbash/rostcsh" +. "$CATKIN_ENV_HOOK_WORKSPACE/share/rosbash/rostcsh" @[end if]@ diff --git a/tools/rosbash/env-hooks/15.rosbash.zsh.em b/tools/rosbash/env-hooks/15.rosbash.zsh.em index 069cbc2c..9c3a4456 100644 --- a/tools/rosbash/env-hooks/15.rosbash.zsh.em +++ b/tools/rosbash/env-hooks/15.rosbash.zsh.em @@ -3,5 +3,5 @@ @[if DEVELSPACE]@ . "@(CMAKE_CURRENT_SOURCE_DIR)/roszsh" @[else]@ -. "@(CMAKE_INSTALL_PREFIX)/share/rosbash/roszsh" +. "$CATKIN_ENV_HOOK_WORKSPACE/share/rosbash/roszsh" @[end if]@