Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.98 1997/12/04 10:58:15 peterg +## Tidied up switches +## ## Revision 1.97 1997/12/04 10:44:33 peterg ## Changed $cc to $CC ## ## Revision 1.96 1997/12/04 10:40:26 peterg ## Added -p switch - print enviromment variables @@ -589,14 +592,15 @@ fi exit fi # Save up the argument list in a file; but only if argument has changed -ARGS=$4; +ARGS=$4; _ARGS=_$4 #DIFF doesn't like empty files - so put a blank if empty if [ -z "$ARGS" ]; then ARGS=' '; + _ARGS=''; fi cat > $1_args.new <