replaced bash-symlinks with forward script
This commit is contained in:
parent
4fb37ab4e2
commit
295851beb2
|
@ -4,10 +4,12 @@ install(FILES rosbash rostcsh roszsh
|
||||||
DESTINATION share/rosbash)
|
DESTINATION share/rosbash)
|
||||||
install(PROGRAMS scripts/rosrun
|
install(PROGRAMS scripts/rosrun
|
||||||
DESTINATION bin)
|
DESTINATION bin)
|
||||||
if(NOT EXISTS ${CMAKE_BINARY_DIR}/bin/rosrun)
|
|
||||||
message(STATUS " Making toplevel symlink for bash script rosrun")
|
message(STATUS " Making toplevel forward script for bash script rosrun")
|
||||||
execute_process(COMMAND /bin/ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/scripts/rosrun ${CMAKE_BINARY_DIR}/bin/rosrun)
|
set(BASH_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/scripts/rosrun)
|
||||||
endif()
|
configure_file(${catkin_EXTRAS_DIR}/templates/script.bash.in
|
||||||
|
${CMAKE_BINARY_DIR}/bin/rosrun
|
||||||
|
@ONLY)
|
||||||
|
|
||||||
catkin_add_env_hooks(15.rosbash
|
catkin_add_env_hooks(15.rosbash
|
||||||
SHELLS bash zsh
|
SHELLS bash zsh
|
||||||
|
|
Loading…
Reference in New Issue