diff options
author | merakor <cem@ckyln.com> | 2020-04-26 22:01:19 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-04-26 22:01:19 +0000 |
commit | 53d992c5ceec0eca55379d584e9c2092cb9b6fc6 (patch) | |
tree | 9be23a2eae41e6a74174f236ace49ab65866521b /kiss | |
parent | 843c958059e301e77fa23d1a508e115501868d3f (diff) | |
download | cpt-53d992c5ceec0eca55379d584e9c2092cb9b6fc6.tar.gz |
kiss: remove -d from path query
If '-x' fails on a directory it means that we cannot see the content
inside. It is pointless to check if it is a directory.
FossilOrigin-Name: 0584abd45fd00cdfdfd5ad14da2a7bb9fba685ea3e74f28f772046886128a07e
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ pkg_find() { set +f for path2 in "$path/"$query; do - [ -x "$path2" ] || [ -d "$path2" ] && set -f -- "$@" "$path2" + [ -x "$path2" ] && set -f -- "$@" "$path2" done done |