mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
make dict settable too
This commit is contained in:
parent
c1da64b96a
commit
86a1e943ca
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
DICT=./dict.xwd
|
||||
DICT=${DICT:-./dict.xwd}
|
||||
COOKIE=${COOKIE:-foo}
|
||||
NGAMES=${NGAMES:-1}
|
||||
NPLAYERS=${NPLAYERS:-2}
|
||||
|
@ -8,7 +8,7 @@ NPLAYERS=${NPLAYERS:-2}
|
|||
usage() {
|
||||
echo "usage: [env=val *] $0" 1>&2
|
||||
echo " current env variables and their values: " 1>&2
|
||||
for VAR in COOKIE NGAMES NPLAYERS; do
|
||||
for VAR in COOKIE DICT NGAMES NPLAYERS; do
|
||||
echo "$VAR:" $(eval "echo \$${VAR}") 1>&2
|
||||
done
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue