mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-08 14:50:49 +02:00
follow symbolic link while searching for available modules
This commit is contained in:
@@ -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