script/Bootstrap/Pmodules/modulecmd.in:

- fix bash glob issue with [A-Z]* pattern
This commit is contained in:
2015-07-02 11:13:28 +02:00
parent aea0cd8d5c
commit e46ed0b484

View File

@@ -942,7 +942,8 @@ get_groups () {
local -r root="$1"
{
cd "${root}"
for f in [A-Z]*; do
# for some unknown reason [A-Z]* doesn't work on (some?) SL6 systems
for f in [ABCDEFGHIJKLMNOPQRSTUVWXYZ]*; do
Groups+=( $f )
done
};