Debian Codegraph @

testsuite/modulefiles.3/sticky/.modulerc

raw
1 #%Module
2 if {![info exists env(TESTSUITE_SUPER_STICKY)]} {
3 set tag sticky
4 } else {
5 set tag super-sticky
6 }
7
8
9 if {![info exists env(TESTSUITE_STICKY_GENERIC)]} {
10
11 module-tag $tag sticky/1.0
12 module-tag sticky sticky/2.0
13 module-tag super-sticky sticky/2.0 sticky/3.0
14
15 } else {
16
17 switch -- $env(TESTSUITE_STICKY_GENERIC) {
18 1 {
19 module-tag $tag sticky
20 }
21 2 {
22 module-tag $tag sticky/1.0 sticky
23 }
24 3 {
25 module-tag super-sticky sticky
26 module-tag sticky sticky/1.0
27 }
28 4 {
29 module-tag sticky sticky
30 module-tag super-sticky sticky/1.0
31 }
32 5 {
33 module-tag sticky sticky
34 module-tag super-sticky sticky
35 }
36 }
37
38 }