Skip to content

Commit

Permalink
Merge pull request #755 from ros/wjwwood-patch-1
Browse files Browse the repository at this point in the history
Remove -x in python distutils shell script
  • Loading branch information
dirk-thomas committed Sep 23, 2015
2 parents 5b3b05b + 8e2a948 commit 3b8a3b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmake/templates/python_distutils_install.sh.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -x
#!/bin/sh

if [ -n "$DESTDIR" ] ; then
case $DESTDIR in
Expand All @@ -12,12 +12,14 @@ if [ -n "$DESTDIR" ] ; then
DESTDIR_ARG="--root=$DESTDIR"
fi

cd "@INSTALL_CMD_WORKING_DIRECTORY@"
echo_and_run() { echo "+ $@" ; "$@" ; }

echo_and_run cd "@INSTALL_CMD_WORKING_DIRECTORY@"

# Note that PYTHONPATH is pulled from the environment to support installing
# into one location when some dependencies were installed in another
# location, #123.
/usr/bin/env \
echo_and_run /usr/bin/env \
PYTHONPATH="@CMAKE_INSTALL_PREFIX@/@PYTHON_INSTALL_DIR@:@CMAKE_BINARY_DIR@/@PYTHON_INSTALL_DIR@:$PYTHONPATH" \
CATKIN_BINARY_DIR="@CMAKE_BINARY_DIR@" \
"@PYTHON_EXECUTABLE@" \
Expand Down

0 comments on commit 3b8a3b9

Please sign in to comment.