mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
Fix to actually work. Grrr.
This commit is contained in:
parent
ba733634cb
commit
b53412d98d
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ build_cmds() {
|
|||
fi
|
||||
|
||||
# rememeber what the app can do
|
||||
HELP="$(APPS[$COUNTER] --help 2>&1 || true)"
|
||||
HELP="$(${APPS[$COUNTER]} --help 2>&1 || true)"
|
||||
|
||||
PARAMS="$(player_params $NLOCALS $NPLAYERS $DEV)"
|
||||
PARAMS="$PARAMS $BOARD_SIZE --room $ROOM --trade-pct 20 --sort-tiles "
|
||||
|
@ -396,7 +396,7 @@ set_relay_devid() {
|
|||
if [ -n "$RELAY_ID" ]; then
|
||||
RELAY_ID=$(echo $RELAY_ID | sed 's,^.*new id: ,,')
|
||||
# turn --devid <whatever> into --rdevid $RELAY_ID
|
||||
ARGS[$KEY]=$(echo $CMD | sed 's,^\(.*\)--devid[ ]\+[^ ]\+\(.*\)$,\1--rdevid $RELAY_ID\2,')
|
||||
ARGS[$KEY]=$(echo $CMD | sed "s,^\(.*\)--devid[ ]\+[^ ]\+\(.*\)$,\1--rdevid $RELAY_ID\2,")
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue