newapkbuild: add the missing cd "$_builddir"

This commit is contained in:
Natanael Copa 2011-03-09 11:52:28 +00:00
parent 947681e9d1
commit b2cfa97c87

View File

@ -139,6 +139,7 @@ __EOF__
# create package() function # create package() function
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
package() { package() {
cd "\$_builddir"
make DESTDIR="\$pkgdir" install || return 1 make DESTDIR="\$pkgdir" install || return 1
__EOF__ __EOF__
if [ -n "$cpinitd" ]; then if [ -n "$cpinitd" ]; then