update non-bash env hooks to use runtime context (ros/catkin#490)

This commit is contained in:
Dirk Thomas 2013-08-04 12:57:38 -07:00
parent 264283ef5a
commit 63c933f01d
2 changed files with 2 additions and 2 deletions

View File

@ -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]@

View File

@ -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]@