mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-09 15:53:59 +01:00
follow symbolic link while searching for available modules
This commit is contained in:
1 parent
c9a41aa328
commit
6ba7525373
1 file changed
+1
-1
@@ -747,7 +747,7 @@ get_available_modules() {
|
||||
if [[ :${use_releases}: =~ :${release}: ]]; then
|
||||
mods+=( "${mod}" ${release} "${dir}/${mod}")
|
||||
fi
|
||||
done < <(${find} * \( -type f -o -type l \) -not -name ".*" -ipath "${module}*")
|
||||
done < <(${find} -L * \( -type f -o -type l \) -not -name ".*" -ipath "${module}*")
|
||||
}
|
||||
done
|
||||
echo "${mods[@]}"
|
||||
|
||||
Reference in new issue
Block a user