Debian Codegraph @

testsuite/modulefiles.3/protect/1.0

raw
1 #%Module
2
3 module-whatis [module-info name]
4
5 if {[info exists env(TESTSUITE_PROTECT)]} {
6 switch -- $env(TESTSUITE_PROTECT) {
7 protectsetenv {
8 setenv FOO bar
9 }
10 protectunsetenv {
11 unsetenv FOO bar
12 }
13 protectappend {
14 append-path FOO bar
15 }
16 protectprepend {
17 prepend-path FOO bar
18 }
19 }
20 }
21