Differences From Artifact [45069e20bd]:

To Artifact [05224a0c69]:


11
12
13
14
15
16
17



18
19
20
21

22
23
24
25

26
27
28





###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################

var=$1
name=$2


if [ -z "$1"  ]; then
 echo '***** Shell variable' $name 'not set. *****'
 echo 'Check that mttrc or mttrc.csh has been invoked.'

 exit
fi











>
>
>




>


|

>



>
>
>
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1997/07/27 13:11:37  peterg
## Initial revision
##
###############################################################

var=$1
name=$2
print=$3

if [ -z "$1"  ]; then
 echo '***** Environment variable' $name 'not set. *****'
 echo 'Check that mttrc or mttrc.csh has been invoked.'
 echo
 exit
fi

if [ "$print" = "print" ]; then
 echo Environment variable $name set to $var
fi

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]