]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- workaround for .jar files with stupid permissions inside
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 May 2009 00:09:51 +0000 (00:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-java-requires -> 1.4

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.031629 seconds and 4 git commands to generate.