aboutsummaryrefslogtreecommitdiffstats
path: root/community/tomcat-native
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-04 21:50:16 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-04 21:57:57 +0200
commit5c03ee0a14bf4dd53f557208c49dcb747b53bf08 (patch)
tree45a926132a3511b57e09818e3829b3ab59e265a3 /community/tomcat-native
parentae746606f328634fa3af6b0664256ee1959477e8 (diff)
downloadaports-5c03ee0a14bf4dd53f557208c49dcb747b53bf08.tar.bz2
aports-5c03ee0a14bf4dd53f557208c49dcb747b53bf08.tar.xz
community/tomcat-native: remove explicit returns
Diffstat (limited to 'community/tomcat-native')
-rw-r--r--community/tomcat-native/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/community/tomcat-native/APKBUILD b/community/tomcat-native/APKBUILD
index 0cd30406bb..e997eb1929 100644
--- a/community/tomcat-native/APKBUILD
+++ b/community/tomcat-native/APKBUILD
@@ -21,24 +21,24 @@ build() {
--with-apr=/usr/bin/apr-1-config \
--with-java-home=/usr/lib/jvm/default-jvm \
--with-ssl=no \
- --disable-openssl || return 1
- make || return 1
+ --disable-openssl
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
# Remove redundant rpath.
- chrpath --delete "$pkgdir"/usr/lib/libtcnative-1.so || return 1
+ chrpath --delete "$pkgdir"/usr/lib/libtcnative-1.so
- rm -f "$pkgdir"/usr/lib/libtcnative-1.la || return 1
+ rm -f "$pkgdir"/usr/lib/libtcnative-1.la
rmdir "$pkgdir"/usr/bin
}
dev() {
- default_dev || return 1
+ default_dev
mv "$subpkgdir"/usr/lib/libtcnative-1.so "$pkgdir"/usr/lib/
}