script/Bootstrap/Pmodules/modulecmd.in:
- fix bash glob issue with [A-Z]* pattern
This commit is contained in:
1 parent
aea0cd8d5c
commit
e46ed0b484
1 file changed
+2
-1
@@ -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
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user