mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
replace tabs with spaces
This commit is contained in:
parent
070590b3c2
commit
9ceb1615b3
1 changed files with 14 additions and 14 deletions
|
@ -51,11 +51,11 @@ function cleanup() {
|
|||
done
|
||||
echo "cleaning everything up...."
|
||||
if [ -d $LOGDIR ]; then
|
||||
mv $LOGDIR /tmp/${LOGDIR}_$$
|
||||
mv $LOGDIR /tmp/${LOGDIR}_$$
|
||||
fi
|
||||
if [ -e $(dirname $0)/../../relay/xwrelay.log ]; then
|
||||
mkdir -p /tmp/${LOGDIR}_$$
|
||||
mv $(dirname $0)/../../relay/xwrelay.log /tmp/${LOGDIR}_$$
|
||||
mkdir -p /tmp/${LOGDIR}_$$
|
||||
mv $(dirname $0)/../../relay/xwrelay.log /tmp/${LOGDIR}_$$
|
||||
fi
|
||||
|
||||
echo "delete from games;" | psql -q -t xwgames
|
||||
|
@ -212,9 +212,9 @@ build_cmds() {
|
|||
PARAMS="$PARAMS --file $FILE --slow-robot 1:3 --skip-confirm"
|
||||
PARAMS="$PARAMS --drop-nth-packet $DROP_N $PLAT_PARMS"
|
||||
# PARAMS="$PARAMS --split-packets 2"
|
||||
if [ -n $SEND_CHAT ]; then
|
||||
PARAMS="$PARAMS --send-chat $SEND_CHAT"
|
||||
fi
|
||||
if [ -n $SEND_CHAT ]; then
|
||||
PARAMS="$PARAMS --send-chat $SEND_CHAT"
|
||||
fi
|
||||
# PARAMS="$PARAMS --savefail-pct 10"
|
||||
[ -n "$SEED" ] && PARAMS="$PARAMS --seed $RANDOM"
|
||||
PARAMS="$PARAMS $PUBLIC"
|
||||
|
@ -626,14 +626,14 @@ while [ "$#" -gt 0 ]; do
|
|||
UNDO_PCT=$(getArg $*)
|
||||
shift
|
||||
;;
|
||||
--send-chat)
|
||||
SEND_CHAT=$(getArg $*)
|
||||
shift
|
||||
;;
|
||||
--resign-ratio)
|
||||
RESIGN_RATIO=$(getArg $*)
|
||||
shift
|
||||
;;
|
||||
--send-chat)
|
||||
SEND_CHAT=$(getArg $*)
|
||||
shift
|
||||
;;
|
||||
--resign-ratio)
|
||||
RESIGN_RATIO=$(getArg $*)
|
||||
shift
|
||||
;;
|
||||
--help)
|
||||
usage
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue