diff options
author | NIIBE Yutaka <[email protected]> | 2018-08-30 00:50:01 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-08-30 00:50:01 +0000 |
commit | 37f627eaca57e227dbfd721a94bb9fa6ab143981 (patch) | |
tree | 0743f21425a9325257fc2b97352c0a5c7fd0e7a3 | |
parent | Simplify configure substitution. (diff) | |
download | libgpg-error-37f627eaca57e227dbfd721a94bb9fa6ab143981.tar.gz libgpg-error-37f627eaca57e227dbfd721a94bb9fa6ab143981.zip |
Fix test condition for pkg-conf-funcs.
* src/pkgconf-funcs.sh: Use -r (was: -e).
-rw-r--r-- | src/pkgconf-funcs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |