Overview
| Comment: | Replaced $PWD by `pwd` for sh compatibility |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
84d254e277a82d76406bf5fb383e81fa |
| User & Date: | gawthrop@users.sourceforge.net on 2000-04-06 11:01:15.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-04-06
| ||
| 11:09:48 | *** empty log message *** check-in: 3c3b5b7d9d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 11:01:15 | Replaced $PWD by `pwd` for sh compatibility check-in: 84d254e277 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:55:36 | Removed debug lines check-in: e042ac4799 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_make_menu
from [29e4fa21a7]
to [aaca99c181].
| ︙ | ︙ | |||
8 9 10 11 12 13 14 | # Creates tk/tcl menus for xmtt. # Copyright (c) P.J.Gawthrop, 1998,1999 #MTT blurb title=`mtt --version` #Collect all systems (inc dir name) | | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# Creates tk/tcl menus for xmtt.
# Copyright (c) P.J.Gawthrop, 1998,1999
#MTT blurb
title=`mtt --version`
#Collect all systems (inc dir name)
dirname="basename `pwd`"
systems=`echo *_abg.fig | sed 's/\([a-zA-Z0-9]*\)_abg.fig/\1/g'`
dirname_in_systems=`echo $systems | grep -c $dirname`
if [ "$dirname_in_systems" = "0" ]; then
systems="$systems $dirname"
fi
# Default system
|
| ︙ | ︙ | |||
81 82 83 84 85 86 87 | }' # Examples menu cat <<EOF menu .exam.exam EOF | > | > | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | }' # Examples menu cat <<EOF menu .exam.exam EOF echo '#' Examples menu strip_comments <$MTTPATH/EXAMPLES | examples_txt2tk # Representations menu echo '#' Representations menu cat<<EOF menu .rep.rep menu .repall.repall EOF strip_comments <$MTTPATH/REPS | reps_txt2tk |