Debian Codegraph @

testsuite/modulefiles/versions/1.2

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: versions/%M%
8 # Revision: %I%
9 # First Edition: 2001/06/20
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: R.K.Owen
13 #
14 # Description: Testuite modulefile
15 # Command:
16 #
17 # Invocation:
18 # Result: %R{
19 # }R%
20 # Comment: %C{
21 # tests whether the versioning stack is working.
22 # }C%
23 #
24 ##############################################################################
25
26 if [ expr [ module-info mode load ] || [ module-info mode display ] ] {
27 setenv MODULE_VERSION 1.2
28 }
29
30 prepend-path MODULE_VERSION_STACK 1.2
31
32 if [ module-info mode remove ] {
33 unsetenv MODULE_VERSION [lindex [split $env(MODULE_VERSION_STACK) : ] 0 ]
34 }
35