From cf5271e4c7efd6ed8bef67edccd9b8d9c4e677f7 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Wed, 7 Jun 2006 11:17:48 +0000 Subject: [PATCH] changing header of bin files --- config_files/docutils-0.3.7.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 } -- 2.39.2