diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2011-04-22 06:45:10 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2011-04-22 06:45:10 -0400 |
commit | e3c49406e163d87f91676f62f68d9218e21b07df (patch) | |
tree | 7256981893f3d877074af6a1f0ccc7b3703b8a4d | |
parent | Comment hint (diff) | |
download | eselect-e3c49406e163d87f91676f62f68d9218e21b07df.tar.gz eselect-e3c49406e163d87f91676f62f68d9218e21b07df.tar.bz2 eselect-e3c49406e163d87f91676f62f68d9218e21b07df.zip |
Better comment as to why 'set -f' is there.
-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 |