From c95263d877ca3ed953de0a114b2c1ccb9aa04b65 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Tue, 4 Apr 2017 17:55:50 +0200 Subject: remove explicit `|| return 1` from all sample APKBUILDs Those statement are no longer needed because abuild now runs with `set -e` by default. See also: 36d5193776180385a39626a83241822736a5f6b8 --- sample.APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sample.APKBUILD') diff --git a/sample.APKBUILD b/sample.APKBUILD index 30184c5..95a6634 100644 --- a/sample.APKBUILD +++ b/sample.APKBUILD @@ -31,12 +31,12 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info - make || return 1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install # remove the 2 lines below (and this) if there is no init.d script # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname @@ -47,7 +47,7 @@ check() { # uncomment the 2 lines below if there is a testsuite. we assume the testsuite # is run using "make check", which is the default for autotools-based build systems. # cd "$builddir" - # make check || return 1 + # make check } md5sums="" #generate with 'abuild checksum' -- cgit v1.2.3-70-g09d2