Use env hack in python scripts.

master
Joey Hess 2009-12-29 15:56:25 -05:00
parent 008d59d3d9
commit 9f841c07df
4 changed files with 5 additions and 2 deletions

1
debian/changelog vendored
View File

@ -7,6 +7,7 @@ ikiwiki (3.20091219) UNRELEASED; urgency=low
example sites also used by auto-blog.setup. The example setup file example sites also used by auto-blog.setup. The example setup file
can be generated at any time using ikiwiki --dumpsetup so I do can be generated at any time using ikiwiki --dumpsetup so I do
not see a reason to ship it. Closes: #562183 not see a reason to ship it. Closes: #562183
* Use env hack in python scripts.
-- Joey Hess <joeyh@debian.org> Fri, 25 Dec 2009 14:31:22 -0500 -- Joey Hess <joeyh@debian.org> Fri, 25 Dec 2009 14:31:22 -0500

View File

@ -11,3 +11,5 @@ Thus I suggest to change the shebang line to:
#!/usr/bin/env python #!/usr/bin/env python
> [[done]], although the irony of all the perl hashbangs in ikiwiki
> being hardcoded doesn't escape me. --[[Joey]]

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# pythondemo — demo Python ikiwiki plugin # pythondemo — demo Python ikiwiki plugin

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# rst — xml-rpc-based ikiwiki plugin to process RST files # rst — xml-rpc-based ikiwiki plugin to process RST files