diff --git a/scripts/ost_config.in b/scripts/ost_config.in index 7e242c696b225067bc33d4cf9aafc7b2f98b9cbe..0c044cf7ae7174ddf78a2d4395ac7173f8e44bfd 100644 --- a/scripts/ost_config.in +++ b/scripts/ost_config.in @@ -36,8 +36,9 @@ export LD_LIBRARY_PATH="$DNG_LIBDIR:${LD_LIBRARY_PATH}" #unset PYTHONPATH + # retrieve absolute path to python executable -pyexec="$DNG_ROOT/bin/python" +pyexec="@PYTHON_BINARY@" if [ ! -x "$pyexec" ]; then echo "Error: Python executable '$pyexec' not found!"