luci-build: fix luci build script

This commit is contained in:
Nick Peng
2020-02-24 20:45:52 +08:00
parent f6255da2ad
commit 9bc32f9f01
5 changed files with 4 additions and 33 deletions

View File

@@ -4,5 +4,4 @@ Depends: libc, smartdns
Source: feeds/luci/applications/luci-app-smartdns
Section: luci
Architecture: all
Installed-Size: 1040
Description: A smartdns server module
Description: A smartdns server

View File

@@ -75,7 +75,7 @@ build()
cd $ROOT
tar zcf $ROOT/data.tar.gz -C root .
tar zcf $OUTPUTDIR/luci-app-smartdns.$VER.$FILEARCH.ipk control.tar.gz data.tar.gz debian-binary
tar zcf $OUTPUTDIR/luci-app-smartdns.$VER.$FILEARCH.ipk ./control.tar.gz ./data.tar.gz ./debian-binary
rm -fr $ROOT/
}