Use env hack in python scripts.
parent
008d59d3d9
commit
9f841c07df
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]]
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue