From: Adam Dickmeiss Date: Sun, 8 Aug 2010 19:15:56 +0000 (+0200) Subject: Fix check for yaz-config X-Git-Tag: v1.4.4~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d1015ee52ea3c437de1f5e2b2fafcbd5ce39095b;p=pazpar2-moved-to-github.git Fix check for yaz-config --- 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