1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 20:09:42 +02:00
openwrt-xburst/tools/ipkg-utils/patches/140-portability.patch
nbd e69556dc02 fix accidentally committed broken patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 13:23:18 +00:00

24 lines
768 B
Diff

Index: ipkg-utils-1.7/ipkg-build
===================================================================
--- ipkg-utils-1.7.orig/ipkg-build 2007-06-30 15:21:37.621213250 +0200
+++ ipkg-utils-1.7/ipkg-build 2007-06-30 15:21:51.862103250 +0200
@@ -11,6 +11,8 @@
version=1.0
+TAR="${TAR:-$(which tar)}"
+
ipkg_extract_value() {
sed -e "s/^[^:]*:[[:space:]]*//"
}
Index: ipkg-utils-1.7/ipkg-make-index
===================================================================
--- ipkg-utils-1.7.orig/ipkg-make-index 2007-06-30 15:21:37.225188500 +0200
+++ ipkg-utils-1.7/ipkg-make-index 2007-06-30 15:21:51.866103500 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# $Id: ipkg-make-index,v 1.20 2003/10/30 02:32:09 jamey Exp $
import sys, os, posixpath