From d1015ee52ea3c437de1f5e2b2fafcbd5ce39095b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 8 Aug 2010 21:15:56 +0200 Subject: [PATCH] Fix check for yaz-config --- test/test_facets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_facets.sh b/test/test_facets.sh index 5e03320..506dd64 100755 --- a/test/test_facets.sh +++ b/test/test_facets.sh @@ -8,7 +8,7 @@ oIFS=$IFS IFS=: F='' for p in $PATH; do - if test -x $p/yaz-ztest -a $p/yaz-config; then + if test -x $p/yaz-ztest -a -x $p/yaz-config; then VERSION=`$p/yaz-config -V|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test $VERSION -ge 4000012; then F=$p/yaz-ztest -- 1.7.10.4