Root/tools/ipkg-utils/patches/140-portability.patch

1--- a/ipkg-build
2+++ b/ipkg-build
3@@ -11,6 +11,8 @@ set -e
4 
5 version=1.0
6 
7+TAR="${TAR:-$(which tar)}"
8+
9 ipkg_extract_value() {
10     sed -e "s/^[^:]*:[[:space:]]*//"
11 }
12--- a/ipkg-make-index
13+++ b/ipkg-make-index
14@@ -1,4 +1,4 @@
15-#!/usr/bin/python
16+#!/usr/bin/env python
17 # $Id: ipkg-make-index,v 1.20 2003/10/30 02:32:09 jamey Exp $
18 
19 import sys, os, posixpath
20

Archive Download this file



interactive