diff --git a/build/debian/build.sh b/build/debian/build.sh index ae4c125..3cbc9ac 100755 --- a/build/debian/build.sh +++ b/build/debian/build.sh @@ -29,7 +29,7 @@ EOF # dpkg-deb find ./debian -type d | xargs chmod 755 -dpkg-deb --build debian +fakeroot dpkg-deb --build debian mv debian.deb zjunet_${VERSION}_all.deb # remove debian/ diff --git a/build/openwrt/build.sh b/build/openwrt/build.sh index 6bedd92..0020d1c 100755 --- a/build/openwrt/build.sh +++ b/build/openwrt/build.sh @@ -29,7 +29,7 @@ EOF # dpkg-deb find ./debian -type d | xargs chmod 755 -dpkg-deb -Zgzip --build debian # for opkg +fakeroot dpkg-deb -Zgzip --build debian # for opkg mv debian.deb zjunet_${VERSION}_all.opk # remove debian/