summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-09 11:52:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-09 11:52:28 +0000
commitb2cfa97c8756dfdfb08081b578d0f3ee00197abe (patch)
tree91226d4e7774a3d034d5e363d4a3aa005dd79933
parent947681e9d101e6fde816de68aad15e81a5c50185 (diff)
downloadabuild-b2cfa97c8756dfdfb08081b578d0f3ee00197abe.tar.gz
abuild-b2cfa97c8756dfdfb08081b578d0f3ee00197abe.tar.bz2
abuild-b2cfa97c8756dfdfb08081b578d0f3ee00197abe.tar.xz
abuild-b2cfa97c8756dfdfb08081b578d0f3ee00197abe.zip
newapkbuild: add the missing cd "$_builddir"
-rwxr-xr-xnewapkbuild.in1
1 files changed, 1 insertions, 0 deletions
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