aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/openjdk8/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/openjdk8/APKBUILD b/community/openjdk8/APKBUILD
index 3019901a2a..70723472c1 100644
--- a/community/openjdk8/APKBUILD
+++ b/community/openjdk8/APKBUILD
@@ -5,7 +5,7 @@ _java_ver=8
_jdk_update=72
_jdk_build=15
pkgver=$_java_ver.$_jdk_update.$_jdk_build
-pkgrel=0
+pkgrel=1
pkgdesc="Sun OpenJDK 8"
url="http://openjdk.java.net"
arch="x86_64 x86"
@@ -139,10 +139,10 @@ package() {
cp -a "$_builddir"/build/*/images/j2sdk-image/* "$pkgdir"/$INSTALL_BASE
rm "$pkgdir"/$INSTALL_BASE/src.zip
- find "$pkgdir"/$INSTALL_BASE -iname "*.diz" -delete
- find "$pkgdir"/$INSTALL_BASE -iname "*.debuginfo" -delete
- find "$pkgdir"/$INSTALL_BASE \( -name "*.jar" -o -name "*.sym" \) \! -perm +006 \
- | xargs chmod go+r
+ find "$pkgdir"/$INSTALL_BASE -iname "*.diz" -delete || return 1
+ find "$pkgdir"/$INSTALL_BASE -iname "*.debuginfo" -delete || return 1
+ find "$pkgdir"/$INSTALL_BASE \( -name "*.jar" -o -name "*.sym" \) \
+ \! -perm /006 | xargs chmod go+r || return 1
pax_mark_vm "$pkgdir"/$INSTALL_BASE