1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00
openwrt/tools/ipkg-utils/patches/110-buildpackage.patch

24 lines
424 B
Diff

--- a/ipkg-buildpackage
+++ b/ipkg-buildpackage
@@ -30,8 +30,9 @@
set -e
-#SCRIPTDIR=/usr/local/bin
-SCRIPTDIR=/other/kurth/ipaq-dev/familiar/dist/ipkg/util/
+SCRIPTDIR=/usr/local/bin
+
+IPKG_BUILD_OPTIONS=$*
SCRIPTNAME=`basename $0`
@@ -212,7 +213,7 @@ done
# build the ipk package
owd=`pwd`
cd ..
-ipkg-build /tmp/${pkg} || exit 1
+ipkg-build $IPKG_BUILD_OPTIONS /tmp/${pkg} || exit 1
rm -rf /tmp/${pkg}