Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL11775
[tools/install.git]
/
config_files
/
Python-2.2.1.sh
diff --git
a/config_files/Python-2.2.1.sh
b/config_files/Python-2.2.1.sh
index 753639b1f4b9ec193679701edd1907a43d0f719f..2d5d9e2226dfc118e1110137c06bc34f5459e9c8 100755
(executable)
--- a/
config_files/Python-2.2.1.sh
+++ b/
config_files/Python-2.2.1.sh
@@
-114,6
+114,11
@@
EOF
check_job ${PRODUCT_DIR}/MAKE.LOG make
check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
check_job ${PRODUCT_DIR}/MAKE.LOG make
check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
+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
#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
print_env
@@
-126,6
+131,11
@@
source ${INSTALL_WORK}/$SHRC
check_jb tar xfz ${SOURCE_DIR}/Python-2.2.1.tar.gz -C ${INSTALL_ROOT}
check_jb tar xfz ${SOURCE_DIR}/Python-2.2.1.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
}
print_env
}