aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-20 18:37:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-20 18:43:02 +0000
commit6d539efc7cd7c6d419ebde10c222be8f3f04938b (patch)
tree714c595ae6c0e1e7d081456a93b49930e76f879e /main/nagios-plugins
parentdc4120b2fe63fb5ab7479cf1dc8cf047a7a6083c (diff)
downloadaports-6d539efc7cd7c6d419ebde10c222be8f3f04938b.tar.bz2
aports-6d539efc7cd7c6d419ebde10c222be8f3f04938b.tar.xz
main/[various]: set -e build fix
Diffstat (limited to 'main/nagios-plugins')
-rw-r--r--main/nagios-plugins/APKBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index accab6e2e5..f64d6c7cb3 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -81,9 +81,7 @@ package() {
done
rm -rf "$pkgdir"/usr/lib/charset.alias
- rmdir -p "$pkgdir"/usr/lib "$pkgdir"/usr/include 2>/dev/null
-
- return 0
+ rmdir -p "$pkgdir"/usr/lib "$pkgdir"/usr/include 2>/dev/null || true
}
tcp() {