Skip to content

Commit

Permalink
fix handling spaces in folder names (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Mar 5, 2013
1 parent 62caf0f commit 31f4190
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/env-hooks/05.catkin-test-results.sh.develspace.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# generated from catkin/cmake/env-hooks/05.catkin-test-results.sh.develspace.in

export CATKIN_TEST_RESULTS_DIR="@CATKIN_TEST_RESULTS_DIR@"
export ROS_TEST_RESULTS_DIR=$CATKIN_TEST_RESULTS_DIR
export ROS_TEST_RESULTS_DIR="$CATKIN_TEST_RESULTS_DIR"
2 changes: 1 addition & 1 deletion cmake/safe_execute_process.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
macro(safe_execute_process cmd_keyword arg1)
set(_cmd ${arg1})
foreach(_arg ${ARGN})
set(_cmd "${_cmd} ${_arg}")
set(_cmd "${_cmd} \"${_arg}\"")
endforeach()

debug_message(2 "execute_process(${_cmd})")
Expand Down
3 changes: 2 additions & 1 deletion cmake/templates/pkgConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ if(@PROJECT_NAME@_LIBRARIES)
_remove_duplicate_libraries(@PROJECT_NAME@_LIBRARIES @PROJECT_NAME@_LIBRARIES)
endif()

foreach(extra @PKG_CFG_EXTRAS@)
set(pkg_cfg_extras "@PKG_CFG_EXTRAS@")
foreach(extra ${pkg_cfg_extras})
include(${extra})
endforeach()
2 changes: 1 addition & 1 deletion cmake/templates/python_distutils_install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ cd "@INSTALL_CMD_WORKING_DIRECTORY@"
build --build-base "@CMAKE_CURRENT_BINARY_DIR@" \
install \
$DESTDIR_ARG \
@SETUPTOOLS_ARG_EXTRA@ --prefix=@CMAKE_INSTALL_PREFIX@ --install-scripts=@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@
@SETUPTOOLS_ARG_EXTRA@ --prefix="@CMAKE_INSTALL_PREFIX@" --install-scripts="@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@"
2 changes: 1 addition & 1 deletion cmake/templates/setup.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ $? -ne 0 -o ! -f "$_SETUP_TMP" ]; then
echo "Could not create temporary file: $_SETUP_TMP"
return 1
fi
CATKIN_SHELL=$CATKIN_SHELL $_SETUP_UTIL $@ > $_SETUP_TMP
CATKIN_SHELL=$CATKIN_SHELL "$_SETUP_UTIL" $@ > $_SETUP_TMP
. $_SETUP_TMP
_RM=`which rm`
$_RM $_SETUP_TMP
Expand Down

0 comments on commit 31f4190

Please sign in to comment.