1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/tools/ipkg-utils/patches/140-portability.patch
2022-11-27 10:16:14 +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