Commit 8468c84b authored by gsell's avatar gsell
Browse files

scripts/Bootstrap/Pmodules/modulecmd.in: bugfix: get_family() now returns...

scripts/Bootstrap/Pmodules/modulecmd.in: bugfix: get_family() now returns empty string, if no modulefiles are installed
parent f432e05d
......@@ -668,10 +668,14 @@ subcommand_avail() {
}
get_families () {
if [[ ! -d "${modulepath_root}" ]]; then
echo ""
else
{
cd "${modulepath_root}"
echo *
ls -1
}
fi
}
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment