From: maintenance team Date: Wed, 7 Jun 2006 11:17:48 +0000 (+0000) Subject: changing header of bin files X-Git-Tag: V_3_2_2~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf5271e4c7efd6ed8bef67edccd9b8d9c4e677f7;p=tools%2Finstall.git changing header of bin files --- diff --git a/config_files/docutils-0.3.7.sh b/config_files/docutils-0.3.7.sh index 3304fe8..2237677 100755 --- a/config_files/docutils-0.3.7.sh +++ b/config_files/docutils-0.3.7.sh @@ -49,6 +49,18 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC check_jb tar xfz ${SOURCE_DIR}/docutils-0.3.7.tar.gz -C ${INSTALL_ROOT} +cd ${PRODUCT_DIR}/bin; + +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2latex.py > _rst2latex.py +mv -f _rst2latex.py rst2latex.py +chmod a+x rst2latex.py +ln -sf rst2latex.py rst2latex + +sed -e "s%#\!.*python%#\!/usr/bin/env python%" rst2html.py > _rst2html.py +mv -f _rst2html.py rst2html.py +chmod a+x rst2html.py +ln -sf rst2html.py rst2html + print_env }