[Python-modules-commits] r19044 - in packages/python-docutils/trunk/debian (rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Sun Oct 23 20:58:52 UTC 2011
Date: Sunday, October 23, 2011 @ 20:58:51
Author: jwilk
Revision: 19044
Fix shebang for Python 3 version of rst-buildhtml.
Modified:
packages/python-docutils/trunk/debian/rules
Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules 2011-10-23 20:22:05 UTC (rev 19043)
+++ packages/python-docutils/trunk/debian/rules 2011-10-23 20:58:51 UTC (rev 19044)
@@ -95,6 +95,7 @@
done; \
done
install tools/buildhtml.py debian/tmp/usr/share/docutils/scripts/python2/rst-buildhtml
+ sed -i -e '1 s,^#!.*,#!/usr/bin/python3,' build/py3/tools/buildhtml.py
install build/py3/tools/buildhtml.py debian/tmp/usr/share/docutils/scripts/python3/rst-buildhtml
: # Make the man pages (we want to do this *after* renaming all the
: # tools, because their executable name goes into the --help output)
More information about the Python-modules-commits
mailing list