Salome HOME
merge from master
[tools/sat_salome.git] / products / compil_scripts / idna.sh
index 2b0950da9e7ec58b0e8c506e9cc0af76381ed234..7cd3ee0d29dae218e8513872c15cd413c5a68875 100755 (executable)
@@ -10,10 +10,10 @@ echo  "*** build in SOURCE directory"
 cd $SOURCE_DIR
 
 # we don't install in python directory -> modify environment as described in INSTALL file
-mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION:0:3}/site-packages
+mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
 export PATH=$(pwd)/bin:$PATH
 export PYTHONPATH=$(pwd):$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION:0:3}/site-packages:$PYTHONPATH
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
 
 echo
 echo "*** build and install with $PYTHONBIN"