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.
This commit is contained in:
parent
369e7069b8
commit
f83d19ce79
@ -266,7 +266,6 @@ __EOF__
|
|||||||
# Create build() function
|
# Create build() function
|
||||||
cat >>APKBUILD<<__EOF__
|
cat >>APKBUILD<<__EOF__
|
||||||
build() {
|
build() {
|
||||||
cd "\$builddir"
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
|
||||||
case "$buildtype" in
|
case "$buildtype" in
|
||||||
@ -292,7 +291,6 @@ __EOF__
|
|||||||
# Create check() function
|
# Create check() function
|
||||||
cat >>APKBUILD<<__EOF__
|
cat >>APKBUILD<<__EOF__
|
||||||
check() {
|
check() {
|
||||||
cd "\$builddir"
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
|
||||||
case "$buildtype" in
|
case "$buildtype" in
|
||||||
@ -310,7 +308,6 @@ __EOF__
|
|||||||
# Create package() function
|
# Create package() function
|
||||||
cat >>APKBUILD<<__EOF__
|
cat >>APKBUILD<<__EOF__
|
||||||
package() {
|
package() {
|
||||||
cd "\$builddir"
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
|
||||||
case "$buildtype" in
|
case "$buildtype" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user