From 235ddf2b8ff0aeb8fb3b3fb2c0bf061d05e7924d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 2 Feb 2016 09:11:33 +0000 Subject: community/openjdk8: fix permissions of *.jar gnu find seems to not support the '-perm +006' anymore. use '-perm /006' --- community/openjdk8/APKBUILD | 10 +++++----- 1 file 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 -- cgit v1.2.3