projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008d59d
)
Use env hack in python scripts.
author
Joey Hess
<joey@gnu.kitenet.net>
Tue, 29 Dec 2009 20:56:25 +0000
(15:56 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Tue, 29 Dec 2009 20:56:25 +0000
(15:56 -0500)
debian/changelog
patch
|
blob
|
history
doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
patch
|
blob
|
history
plugins/pythondemo
patch
|
blob
|
history
plugins/rst
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index dec2423fe6ef4bde5984a3c080dcf22dfe12ce80..ee6f9adfb019cb3e736f10dda624769f0c5b5fa3 100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-7,6
+7,7
@@
ikiwiki (3.20091219) UNRELEASED; urgency=low
example sites also used by auto-blog.setup. The example setup file
can be generated at any time using ikiwiki --dumpsetup so I do
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
diff --git
a/doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
b/doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
index f89c76fe8810db93b4117629340b4473461ed18a..a594adc0991fd0cd43aaf2c3509011eb71e11ece 100644
(file)
--- a/
doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
+++ b/
doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
@@
-11,3
+11,5
@@
Thus I suggest to change the shebang line to:
#!/usr/bin/env python
+> [[done]], although the irony of all the perl hashbangs in ikiwiki
+> being hardcoded doesn't escape me. --[[Joey]]
diff --git
a/plugins/pythondemo
b/plugins/pythondemo
index c63ce39734ec240a20c95c9d019842184985d06a..911f4d7d9fefd8a4dc2e151ad5d6a638db00bc83 100755
(executable)
--- a/
plugins/pythondemo
+++ b/
plugins/pythondemo
@@
-1,4
+1,4
@@
-#!/usr/bin/python
+#!/usr/bin/
env
python
# -*- coding: utf-8 -*-
#
# pythondemo — demo Python ikiwiki plugin
diff --git
a/plugins/rst
b/plugins/rst
index 449dba415f69195177981459fc1ec0087464edb2..9f64b33a0aa3224fd371224ec54f6f28ffb2e355 100755
(executable)
--- a/
plugins/rst
+++ b/
plugins/rst
@@
-1,4
+1,4
@@
-#!/usr/bin/python
+#!/usr/bin/
env
python
# -*- coding: utf-8 -*-
#
# rst — xml-rpc-based ikiwiki plugin to process RST files