]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix file test
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 10 Apr 2007 21:02:52 +0000 (21:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    find-java-req.sh -> 1.3

find-java-req.sh

index 539af004c4fbb606ea017bf2bf8721fbe7bac24b..5a9b4457c195bc238a5842310ad43f7679f761af 100755 (executable)
@@ -54,7 +54,7 @@ javaclassversion() {
        local file="$1"
 
        # check only files, symlinks could point outside buildroot
-       [ ! -f "$file" -o -L "$file" ] || return
+       [ -f "$file" -a ! -L "$file" ] || return
 
        tmp=$(mktemp -d)
        unzip -q -d $tmp $file >&2
This page took 0.118064 seconds and 4 git commands to generate.