From 0affd21ce2a1036abb75feddee9d514e852fb16a Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Fri, 10 Jul 2015 16:18:01 -0400 Subject: [PATCH] Fixing bug in wrapper script on rhel6 --- Code/Mantid/Build/CMake/Packaging/mantidpython.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/Build/CMake/Packaging/mantidpython.in b/Code/Mantid/Build/CMake/Packaging/mantidpython.in index 4efa16c1591..9261d00f1b3 100755 --- a/Code/Mantid/Build/CMake/Packaging/mantidpython.in +++ b/Code/Mantid/Build/CMake/Packaging/mantidpython.in @@ -25,7 +25,7 @@ fi PV_PLUGIN_PATH="${INSTALLDIR}/pvplugins/pvplugins" # Define extra libraries for python -LOCAL_PYTHONPATH=@WRAPPER_PREFIX@$INSTALLDIR +LOCAL_PYTHONPATH=$INSTALLDIR if [ -n "${PYTHONPATH}" ]; then LOCAL_PYTHONPATH=${LOCAL_PYTHONPATH}:${PYTHONPATH} fi @@ -35,4 +35,4 @@ LD_PRELOAD=${LOCAL_PRELOAD} TCMALLOC_RELEASE_RATE=${TCM_RELEASE} \ LD_LIBRARY_PATH=${LOCAL_LDPATH} QT_API=pyqt \ PV_PLUGIN_PATH=${PV_PLUGIN_PATH} \ PYTHONPATH=${LOCAL_PYTHONPATH} \ - ${IPYTHON} $*@WRAPPER_POSTFIX@ + @WRAPPER_PREFIX@${IPYTHON} $*@WRAPPER_POSTFIX@ -- GitLab