Overview
Comment: | Fixes [ 1233815 ] xmtt doesn't start on Fedora Core 3
When creating the options menu items, only read lines that start with '-' |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
939f70caee0605a313e489bbbf822f6f |
User & Date: | geraint@users.sourceforge.net on 2005-08-26 10:11:09 |
Other Links: | branch diff | manifest | tags |
Context
2005-08-26
| ||
14:43:49 | Fixes [1274079] xmtt fails if filenames have spaces check-in: 2b36bd1b0a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
10:11:09 |
Fixes [ 1233815 ] xmtt doesn't start on Fedora Core 3
When creating the options menu items, only read lines that start with '-' check-in: 939f70caee user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2005-08-05
| ||
15:35:17 | Fixed _ in ports check-in: c6ef7d30fc user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_make_menu from [7786b633df] to [bbf037ecfa].
︙ | ︙ | |||
77 78 79 80 81 82 83 | done # Create the options menu mtt | gawk '{ if (Options) { option=substr($1,2); label=""; | > | | | > | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | done # Create the options menu mtt | gawk '{ if (Options) { option=substr($1,2); label=""; if ($1 ~ /^-/) { for (i=2;i<=NF;i++) label = sprintf("%s %s",label,$i); printf(".opt.opt add check -label \"%s (-%s)\" -variable %s -command {set args \"$args -%s\" }\n", label, option, option, option); } } if ($1=="Options:") Options = 1; }' # Examples menu cat <<EOF menu .exam.exam |
︙ | ︙ |