1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 01:15:53 +02:00
openwrt-xburst/tools/ipkg-utils/patches/140-portability.patch
hauke 4ca144deb8 tools: refresh patches for tools
lua, mtd-utils, ipkg-utils, squashfs, lzma, and autoconf are touched


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:46:03 +00:00

20 lines
362 B
Diff

--- a/ipkg-build
+++ b/ipkg-build
@@ -11,6 +11,8 @@ set -e
version=1.0
+TAR="${TAR:-$(which tar)}"
+
ipkg_extract_value() {
sed -e "s/^[^:]*:[[:space:]]*//"
}
--- a/ipkg-make-index
+++ b/ipkg-make-index
@@ -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