123456789101112131415161718192021222324252627282930313233 |
- #!/bin/sh
- if [ -n "$DESTDIR" ] ; then
- case $DESTDIR in
- /*) # ok
- ;;
- *)
- /bin/echo "DESTDIR argument must be absolute... "
- /bin/echo "otherwise python's distutils will bork things."
- exit 1
- esac
- fi
- echo_and_run() { echo "+ $@" ; "$@" ; }
- echo_and_run cd "/home/neousys/autoware.ai/src/autoware/utilities/autoware_launcher"
- # ensure that Python install destination exists
- echo_and_run mkdir -p "$DESTDIR/home/neousys/autoware.ai/install/autoware_launcher/lib/python2.7/dist-packages"
- # Note that PYTHONPATH is pulled from the environment to support installing
- # into one location when some dependencies were installed in another
- # location, #123.
- echo_and_run /usr/bin/env \
- PYTHONPATH="/home/neousys/autoware.ai/install/autoware_launcher/lib/python2.7/dist-packages:/home/neousys/autoware.ai/build/autoware_launcher/lib/python2.7/dist-packages:$PYTHONPATH" \
- CATKIN_BINARY_DIR="/home/neousys/autoware.ai/build/autoware_launcher" \
- "/usr/bin/python2" \
- "/home/neousys/autoware.ai/src/autoware/utilities/autoware_launcher/setup.py" \
- \
- build --build-base "/home/neousys/autoware.ai/build/autoware_launcher" \
- install \
- --root="${DESTDIR-/}" \
- --install-layout=deb --prefix="/home/neousys/autoware.ai/install/autoware_launcher" --install-scripts="/home/neousys/autoware.ai/install/autoware_launcher/bin"
|