Debian Codegraph @

testsuite/modulefiles/info/.modulerc

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: info/%M%
8 # Revision: %I%
9 # First Edition: 2017/01/22
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Xavier Delaruelle, [email protected]
13 #
14 # Description: Testuite modulefile
15 # Command:
16 # Sub-Command:
17 #
18 # Invocation:
19 # Result: %R{
20 # }R%
21 # Comment: %C{
22 # The 'module-info specified' command retrieves the
23 # name of the modulefile specified on the command-line
24 # }C%
25 #
26 ##############################################################################
27
28 module-version /specified foo
29
30 if {[info exists env(TESTSUITE_INFO)]} {
31 switch -- $env(TESTSUITE_INFO) {
32 isused-rc1 {
33 if {[is-used ../../../testsuite/modulefiles/]} {
34 module-alias info/rcisused info/isused
35 }
36 }
37 }
38 }