let ver=$maj_ver*10000+$min_ver*100+$rel_ver
if [ $ver -ge 20201 ] ; then
# if [ "`${pythonhome}/bin/python -V 2>&1`" == "Python 2.2.1" ] ; then
+ tmp="\${PYTHONHOME}/bin ${pythonhome}/bin \${PATH} ${PATH}";
+ path=`sort_path ${tmp}`
+ tmp="\${PYTHONHOME}/lib/python2.2 ${pythonhome}/lib/python2.2 \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+ ld_library_path=`sort_path ${tmp}`
tmp="\${PYTHONHOME}/lib/python2.2 ${pythonhome}/lib/python2.2 \${PYTHONPATH} ${PYTHONPATH}";
pythonpath=`sort_path ${tmp}`
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
export PYTHONHOME=${pythonhome}
export PYTHON_INCLUDE=\${PYTHONHOME}/include/python2.2
export PYTHONPATH=${pythonpath}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
##
EOF
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"