aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils/opkg-utils
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2012-01-04 22:30:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 11:24:47 +0000
commit28b6f1f36ef07a82aa078589ecb98a8c3c52793b (patch)
treeeabb2a4e582e631cb9949ae35c050f110dc2b892 /meta/recipes-devtools/opkg-utils/opkg-utils
parent6126f96a1dc4ec0dc9045232b87ed2276436cf63 (diff)
downloadopenembedded-core-contrib-28b6f1f36ef07a82aa078589ecb98a8c3c52793b.tar.gz
opkg-utils: use /usr/bin/env python
(From OE-Core rev: 118cb063b08fc1aeb99c248fde6ef2069496c347) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch
new file mode 100644
index 0000000000..f6a2ef9bdf
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch
@@ -0,0 +1,46 @@
+Use python via the PATH, rather than hardcoding /usr/bin/python
+
+Upstream-Status: Pending
+
+Signed-off-by: Christopher Larson <kergoth@gmail.com>
+
+--- opkg-utils.orig/opkg-list-fields
++++ opkg-utils/opkg-list-fields
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+
+ import sys, opkg
+
+--- opkg-utils.orig/opkg-make-index
++++ opkg-utils/opkg-make-index
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+
+ import sys, os, posixpath
+ from glob import glob
+--- opkg-utils.orig/opkg-show-deps
++++ opkg-utils/opkg-show-deps
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+
+ import sys, os, posixpath
+ from glob import glob
+--- opkg-utils.orig/opkg-unbuild
++++ opkg-utils/opkg-unbuild
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+
+ import sys, os, re
+
+--- opkg-utils.orig/opkg-update-index
++++ opkg-utils/opkg-update-index
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.1
++#!/usr/bin/env python
+
+ import sys, os
+ from glob import glob