mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
29 lines
510 B
Bash
Executable file
29 lines
510 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This script just runs the curses app with a set of params known to
|
|
# work. At least when it was last committed. :-)
|
|
|
|
usage() {
|
|
echo "usage: $0 [--help] [param-for-xwords]*"
|
|
exit 1
|
|
}
|
|
|
|
PARAMS=''
|
|
while [ $# -gt 0 ]; do
|
|
case $1 in
|
|
--help)
|
|
usage;
|
|
;;
|
|
*)
|
|
PARAMS="$PARAMS $1"
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
WD=$(cd $(dirname $0)/.. && pwd)
|
|
cd $WD
|
|
./obj_linux_memdbg/xwords --curses --name Eric --name Kati \
|
|
--dict-dir ./ --game-dict ../dict.xwd \
|
|
$PARAMS \
|
|
2>log.txt \
|