check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
(cd ${PRODUCT_DIR}/lib/python2.3/config; ln -s ../../libpython2.3.so.1.0 libpython2.3.so)
+cd ${PRODUCT_DIR}/bin
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" pydoc > _pydoc
+mv -f _pydoc pydoc
+chmod a+x pydoc
+
#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
print_env
check_jb tar xfz ${SOURCE_DIR}/Python-2.3.5.tar.gz -C ${INSTALL_ROOT}
+cd ${PRODUCT_DIR}/bin
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" pydoc > _pydoc
+mv -f _pydoc pydoc
+chmod a+x pydoc
+
print_env
}
check_job ${PRODUCT_DIR}/MAKE_OMNINOTIFY.LOG make
check_job ${PRODUCT_DIR}/INSTALL_OMNINOTIFY.LOG make install
+cd ${PRODUCT_DIR}/bin
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidl > _omniidl
+mv -f _omniidl omniidl
+chmod a+x omniidl
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidlrun.py > _omniidlrun.py
+mv -f _omniidlrun.py omniidlrun.py
+chmod a+x omniidlrun.py
+
#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
cd ${PRODUCT_DIR}
rm -fr ${INSTALL_WORK}/omniORB-4.0.5
check_jb tar xfz ${SOURCE_DIR}/omniORB-4.0.5.tar.gz -C ${INSTALL_ROOT}
-ln -s ${PRODUCT_DIR} ${INSTALL_ROOT}/omni
+ln -sf ${PRODUCT_DIR} ${INSTALL_ROOT}/omni
cd ${PRODUCT_DIR}/bin
-sed -e "s%#\!.*python%#\!`which python`%" omniidl > _omniidl
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidl > _omniidl
mv -f _omniidl omniidl
chmod a+x omniidl
+sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidlrun.py > _omniidlrun.py
+mv -f _omniidlrun.py omniidlrun.py
+chmod a+x omniidlrun.py
print_env
}