From 37f627eaca57e227dbfd721a94bb9fa6ab143981 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 30 Aug 2018 09:50:01 +0900 Subject: Fix test condition for pkg-conf-funcs. * src/pkgconf-funcs.sh: Use -r (was: -e). --- src/pkgconf-funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgconf-funcs.sh b/src/pkgconf-funcs.sh index d06b68b..fd144c8 100644 --- a/src/pkgconf-funcs.sh +++ b/src/pkgconf-funcs.sh @@ -108,7 +108,7 @@ find_file_in_path () { local IFS=":" # On Windows it should be ";"??? for d in $p; do - if [ -e $d/$f ]; then + if [ -r $d/$f ]; then RESULT="$d/$f" return 0 fi -- cgit v1.2.3