mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
During a modulefile lookup in getModules, directory definitions are updated if some empty directories are found in them. Do not attempt this directory definition update when finding an empty directory if parent directory has been overwritten by an alias definition for instance. Fixes #170
29 lines
758 B
Plaintext
29 lines
758 B
Plaintext
#%Module1.0
|
|
|
|
##############################################################################
|
|
# Modules Revision 3.0
|
|
# Providing a flexible user environment
|
|
#
|
|
# File: moddalias/%M%
|
|
# Revision: %I%
|
|
# First Edition: 2018/05/24
|
|
# Last Mod.: %U%, %G%
|
|
#
|
|
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
|
|
#
|
|
# Description: Testuite modulefile
|
|
# Command:
|
|
# Sub-Command:
|
|
#
|
|
# Invocation:
|
|
# Result: %R{
|
|
# }R%
|
|
# Comment: %C{
|
|
# Test alias is correctly resolved when it overwrites a directory
|
|
# and an empty directory is a child of this overwritten directory
|
|
# }C%
|
|
#
|
|
##############################################################################
|
|
|
|
module-whatis [module-info name]
|