fix accidentally committed broken patch
[openwrt/svn-archive/archive.git] / tools / ipkg-utils / patches / 140-portability.patch
1 Index: ipkg-utils-1.7/ipkg-build
2 ===================================================================
3 --- ipkg-utils-1.7.orig/ipkg-build 2007-06-30 15:21:37.621213250 +0200
4 +++ ipkg-utils-1.7/ipkg-build 2007-06-30 15:21:51.862103250 +0200
5 @@ -11,6 +11,8 @@
6
7 version=1.0
8
9 +TAR="${TAR:-$(which tar)}"
10 +
11 ipkg_extract_value() {
12 sed -e "s/^[^:]*:[[:space:]]*//"
13 }
14 Index: ipkg-utils-1.7/ipkg-make-index
15 ===================================================================
16 --- ipkg-utils-1.7.orig/ipkg-make-index 2007-06-30 15:21:37.225188500 +0200
17 +++ ipkg-utils-1.7/ipkg-make-index 2007-06-30 15:21:51.866103500 +0200
18 @@ -1,4 +1,4 @@
19 -#!/usr/bin/python
20 +#!/usr/bin/env python
21 # $Id: ipkg-make-index,v 1.20 2003/10/30 02:32:09 jamey Exp $
22
23 import sys, os, posixpath