Use env hack in python scripts.
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 29 Dec 2009 20:56:25 +0000 (15:56 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 29 Dec 2009 20:56:25 +0000 (15:56 -0500)
debian/changelog
doc/bugs/rst_plugin_has_python_hardcode_in_shebang_line.mdwn
plugins/pythondemo
plugins/rst

index dec2423fe6ef4bde5984a3c080dcf22dfe12ce80..ee6f9adfb019cb3e736f10dda624769f0c5b5fa3 100644 (file)
@@ -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
 
index f89c76fe8810db93b4117629340b4473461ed18a..a594adc0991fd0cd43aaf2c3509011eb71e11ece 100644 (file)
@@ -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]] 
index c63ce39734ec240a20c95c9d019842184985d06a..911f4d7d9fefd8a4dc2e151ad5d6a638db00bc83 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # pythondemo — demo Python ikiwiki plugin
index 449dba415f69195177981459fc1ec0087464edb2..9f64b33a0aa3224fd371224ec54f6f28ffb2e355 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # rst — xml-rpc-based ikiwiki plugin to process RST files