tools: refresh patches for tools lua, mtd-utils, ipkg-utils, squashfs, lzma, and...
[openwrt/staging/florian.git] / tools / ipkg-utils / patches / 110-buildpackage.patch
1 --- a/ipkg-buildpackage
2 +++ b/ipkg-buildpackage
3 @@ -30,8 +30,9 @@
4
5 set -e
6
7 -#SCRIPTDIR=/usr/local/bin
8 -SCRIPTDIR=/other/kurth/ipaq-dev/familiar/dist/ipkg/util/
9 +SCRIPTDIR=/usr/local/bin
10 +
11 +IPKG_BUILD_OPTIONS=$*
12
13 SCRIPTNAME=`basename $0`
14
15 @@ -212,7 +213,7 @@ done
16 # build the ipk package
17 owd=`pwd`
18 cd ..
19 -ipkg-build /tmp/${pkg} || exit 1
20 +ipkg-build $IPKG_BUILD_OPTIONS /tmp/${pkg} || exit 1
21
22 rm -rf /tmp/${pkg}
23