paysages3d/dist/paysages3d.sh

11 lines
337 B
Bash
Raw Permalink Normal View History

#!/bin/bash
SCRIPT_PATH=$(dirname $0)
export LD_LIBRARY_PATH=${SCRIPT_PATH}/lib:"${LD_LIBRARY_PATH}"
cd ${SCRIPT_PATH}
COLLECT_NEEDED=$(ldd lib/paysages-gui | grep -c 'not found')
[ $COLLECT_NEEDED -gt 0 ] && export LD_LIBRARY_PATH=${SCRIPT_PATH}/lib/collected:"${LD_LIBRARY_PATH}"
2015-07-28 17:03:10 +00:00
${SCRIPT_PATH}/lib/paysages-modeler
cd - > /dev/null