summaryrefslogtreecommitdiffstats
path: root/tools/ipkg-utils/patches/140-portability.patch
blob: ae71d7a896048103b10f518d41df482aaf0cefe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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