]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-java-requires
- no static mods, all goes in
[packages/rpm.git] / rpm-java-requires
index 03987b2df7a092ee4de164a32607f03d87809ef8..2dfb0d5c60636421c560be1be5fcf2410f08e351 100644 (file)
@@ -31,6 +31,8 @@ javajarversion() {
 
        tmp=$(mktemp -d)
        unzip -q -d $tmp $jar >&2
+       # workaround for .jar files with stupid permissions
+       chmod -R u+rwX $tmp
        javaclassversion $(find $tmp -type f -name '*.class') || {
                echo >&2 "ERROR: Class version could not be extracted from $jar"
                ret=1
This page took 0.026097 seconds and 4 git commands to generate.