From b2cfa97c8756dfdfb08081b578d0f3ee00197abe Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 9 Mar 2011 11:52:28 +0000 Subject: [PATCH] newapkbuild: add the missing cd "$_builddir" --- newapkbuild.in | 1 + 1 file changed, 1 insertion(+) diff --git a/newapkbuild.in b/newapkbuild.in index ee392e6..474d5bb 100755 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -139,6 +139,7 @@ __EOF__ # create package() function cat >>APKBUILD<<__EOF__ package() { + cd "\$_builddir" make DESTDIR="\$pkgdir" install || return 1 __EOF__ if [ -n "$cpinitd" ]; then