Overview
Comment:Added -p argument to print environment variables
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 467836a7efb7841e50919582b0b0fb70b13987c1aaa9a29d000fd821744aa05d
User & Date: gawthrop@users.sourceforge.net on 1997-12-04 10:41:49
Other Links: branch diff | manifest | tags
Context
1997-12-04
10:44:33
Changed $cc to $CC check-in: 83cdcba165 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:41:49
Added -p argument to print environment variables check-in: 467836a7ef user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:41:15
Added third argument to print env. variables. check-in: ff8c1ba3ea user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt_check_vars from [85ae3f73fb] to [ca74ea3e94].

11
12
13
14
15
16
17



18
19










20

21
22
23
24
25
26
27
28
29










30
31
32
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
37
38
39
40
41
42
43
44
45
46
47







+
+
+


+
+
+
+
+
+
+
+
+
+

+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+





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

#Look for a command line argument
while [ -n "`echo $1 | grep '-'`" ]; do
  case $1 in
	-p )
		print=print ;;
	*)
		echo "$1 is an invalid argument - ignoring" ;;
  esac
  shift
done


mtt_check_var "$MAKE" "MAKE"
mtt_check_var "$MTTPATH" "MTTPATH"
mtt_check_var "$MATRIX" "MATRIX"
mtt_check_var "$RMATRIX" "RMATRIX"
mtt_check_var "$SYMBOLIC" "SYMBOLIC"
mtt_check_var "$FIG" "FIG"
mtt_check_var "$PSVIEW" "PSVIEW"
mtt_check_var "$HTMLVIEW" "HTMLVIEW"
mtt_check_var "$DVIVIEW" "DVIVIEW"
mtt_check_var "$MAKE" "MAKE" "$print"
mtt_check_var "$MTTPATH" "MTTPATH" "$print"
mtt_check_var "$MATRIX" "MATRIX" "$print"
mtt_check_var "$RMATRIX" "RMATRIX" "$print"
mtt_check_var "$SYMBOLIC" "SYMBOLIC" "$print"
mtt_check_var "$FIG" "FIG" "$print"
mtt_check_var "$PSVIEW" "PSVIEW" "$print"
mtt_check_var "$HTMLVIEW" "HTMLVIEW" "$print"
mtt_check_var "$DVIVIEW" "DVIVIEW" "$print"
mtt_check_var "$CC" "CC" "$print"




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