diff options
author | frans <frans@linux-cdv2.site> | 2009-01-18 13:31:11 +0100 |
---|---|---|
committer | frans <frans@linux-cdv2.site> | 2009-01-19 19:43:30 +0100 |
commit | c9ea9cc59e59635562e718c6f21bb2d42e9545a8 (patch) | |
tree | 886f5a10df60625d249b7cb1a315fa7c6532e1e9 | |
parent | 5b339616cd5183cf193dd229ef408e6d88d96cfb (diff) |
use python from env instead of /usr/bin/python
-rw-r--r-- | packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb | 2 | ||||
-rw-r--r-- | packages/ipkg-utils/ipkg-utils/ipkg-env.patch | 54 | ||||
-rw-r--r-- | packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb | 6 |
3 files changed, 59 insertions, 3 deletions
diff --git a/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb b/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb index 53a5c225d5..758814fa04 100644 --- a/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb +++ b/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb @@ -1,7 +1,7 @@ require ipkg-utils_${PV}.bb RDEPENDS = "" -PR = "r20" +PR = "r21" inherit native diff --git a/packages/ipkg-utils/ipkg-utils/ipkg-env.patch b/packages/ipkg-utils/ipkg-utils/ipkg-env.patch new file mode 100644 index 0000000000..7d3025dc6f --- /dev/null +++ b/packages/ipkg-utils/ipkg-utils/ipkg-env.patch @@ -0,0 +1,54 @@ +diff -Nur ipkg-utils.orig/ipkg-list-fields ipkg-utils/ipkg-list-fields +--- ipkg-utils.orig/ipkg-list-fields 2009-01-17 21:52:36.000000000 +0100 ++++ ipkg-utils/ipkg-list-fields 2009-01-17 21:55:08.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import sys, ipkg + +diff -Nur ipkg-utils.orig/ipkg-make-index ipkg-utils/ipkg-make-index +--- ipkg-utils.orig/ipkg-make-index 2009-01-17 21:52:36.000000000 +0100 ++++ ipkg-utils/ipkg-make-index 2009-01-17 21:55:13.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # $Id: ipkg-make-index,v 1.22 2005/03/03 16:39:04 jamey Exp $ + + import sys, os, posixpath +diff -Nur ipkg-utils.orig/ipkg-show-deps ipkg-utils/ipkg-show-deps +--- ipkg-utils.orig/ipkg-show-deps 2009-01-17 21:52:36.000000000 +0100 ++++ ipkg-utils/ipkg-show-deps 2009-01-17 21:55:21.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # $Id: ipkg-show-deps,v 1.2 2004/03/06 13:08:33 pb Exp $ + + import sys, os, posixpath +diff -Nur ipkg-utils.orig/ipkg-unbuild ipkg-utils/ipkg-unbuild +--- ipkg-utils.orig/ipkg-unbuild 2009-01-17 21:52:35.000000000 +0100 ++++ ipkg-utils/ipkg-unbuild 2009-01-17 21:55:24.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import sys, os, re + +diff -Nur ipkg-utils.orig/ipkg-update-index ipkg-utils/ipkg-update-index +--- ipkg-utils.orig/ipkg-update-index 2009-01-17 21:52:36.000000000 +0100 ++++ ipkg-utils/ipkg-update-index 2009-01-17 21:55:29.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.1 ++#!/usr/bin/env python + + import sys, os + from glob import glob +diff -Nur ipkg-utils.orig/ipkg-upload ipkg-utils/ipkg-upload +--- ipkg-utils.orig/ipkg-upload 2009-01-17 21:52:36.000000000 +0100 ++++ ipkg-utils/ipkg-upload 2009-01-17 21:55:33.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import sys, os, os.path, re + diff --git a/packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb b/packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb index 7ffecb50ae..8baffd24c7 100644 --- a/packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb +++ b/packages/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb @@ -5,7 +5,7 @@ LICENSE = "GPL" CONFLICTS = "ipkg-link" RDEPENDS = "python" SRCDATE = "20050404" -PR = "r22" +PR = "r23" SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \ file://ipkg-utils-fix.patch;patch=1 \ @@ -13,7 +13,9 @@ SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \ file://ipkg-py-tarfile.patch;patch=1 \ file://arfile_even_alignment.patch;patch=1 \ file://ipkg-make-index-track-stamps.patch;patch=1 \ - file://fields_tweaks.patch;patch=1 " + file://fields_tweaks.patch;patch=1 \ + file://ipkg-env.patch;patch=1 \ + " S = "${WORKDIR}/ipkg-utils" |