SOURCES: find-java-req.sh - fix file test
glen
glen at pld-linux.org
Tue Apr 10 23:02:58 CEST 2007
Author: glen Date: Tue Apr 10 21:02:57 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix file test
---- Files affected:
SOURCES:
find-java-req.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/find-java-req.sh
diff -u SOURCES/find-java-req.sh:1.2 SOURCES/find-java-req.sh:1.3
--- SOURCES/find-java-req.sh:1.2 Tue Apr 10 20:34:13 2007
+++ SOURCES/find-java-req.sh Tue Apr 10 23:02:52 2007
@@ -54,7 +54,7 @@
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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/find-java-req.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list