You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/11/29 18:14:01 UTC

svn commit: r480629 - /incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh

Author: jsdelfino
Date: Wed Nov 29 09:14:00 2006
New Revision: 480629

URL: http://svn.apache.org/viewvc?view=rev&rev=480629
Log:
Adjusted scripts to use the Python interpreter pointed to by the PYTHON_LIB variable, if defined.

Modified:
    incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh

Modified: incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh?view=diff&rev=480629&r1=480628&r2=480629
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh (original)
+++ incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather.client/runclient.sh Wed Nov 29 09:14:00 2006
@@ -37,6 +37,12 @@
 fi
 echo "Using Axis2C installed at $AXIS2C_HOME"
 
+if [ x$PYTHON_LIB != x ]; then
+echo "Using Python library installed at $PYTHON_LIB"
+export LD_LIBRARY_PATH=$PYTHON_LIB:$LD_LIBRARY_PATH
+export PATH=$PYTHON_LIB/../bin:$PATH
+fi
+
 export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SCACPP/extensions/python/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH
 export PYTHONPATH=$TUSCANY_SCACPP/extensions/python/lib:$PYTHONPATH
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org