From 118cb063b08fc1aeb99c248fde6ef2069496c347 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 4 Jan 2012 22:30:37 -0800 Subject: opkg-utils: use /usr/bin/env python Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- .../opkg-utils/opkg-utils/shebang.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils') 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 + +--- 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 -- cgit 1.2.3-korg