diff options
Diffstat (limited to 'postgresql.eselect')
-rw-r--r-- | postgresql.eselect | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index 11216cd..8454284 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -50,6 +50,9 @@ linker() { local findings # Prevent passed patterns from being globbed + # If this module is run in /usr, '-name lib*' ends up globbing 'lib*', + # passing to 'find' the pattern '-name lib lib32 lib64' and find interprets + # those as path arguments causing failure. set -f findings=$(find "${source_dir}" -maxdepth 1 -mindepth 1 ${pattern}) set +f |