summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIkke <kdaudt@alpinelinux.org>2019-04-22 22:39:00 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-29 18:34:03 +0000
commitf83d19ce79ab9f2dcc5238346a910cd18ae0f330 (patch)
tree2c28c6dc09cb2182ea0aa848589c76cfdad42ef6
parent369e7069b8192a1d1ca267c6df5b907955bc3624 (diff)
downloadabuild-f83d19ce79ab9f2dcc5238346a910cd18ae0f330.tar.bz2
abuild-f83d19ce79ab9f2dcc5238346a910cd18ae0f330.tar.xz
newapkbuild: remove obsolete cd statements
Since `$builddir` is officially supported and abuild automatically cd's to `$builddir`, it does not need to be part of the template anymore.
-rw-r--r--newapkbuild.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index e00d7d2..36e4bca 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -266,7 +266,6 @@ __EOF__
# Create build() function
cat >>APKBUILD<<__EOF__
build() {
- cd "\$builddir"
__EOF__
case "$buildtype" in
@@ -292,7 +291,6 @@ __EOF__
# Create check() function
cat >>APKBUILD<<__EOF__
check() {
- cd "\$builddir"
__EOF__
case "$buildtype" in
@@ -310,7 +308,6 @@ __EOF__
# Create package() function
cat >>APKBUILD<<__EOF__
package() {
- cd "\$builddir"
__EOF__
case "$buildtype" in