mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +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
|
done
|
||||||
echo "cleaning everything up...."
|
echo "cleaning everything up...."
|
||||||
if [ -d $LOGDIR ]; then
|
if [ -d $LOGDIR ]; then
|
||||||
mv $LOGDIR /tmp/${LOGDIR}_$$
|
mv $LOGDIR /tmp/${LOGDIR}_$$
|
||||||
fi
|
fi
|
||||||
if [ -e $(dirname $0)/../../relay/xwrelay.log ]; then
|
if [ -e $(dirname $0)/../../relay/xwrelay.log ]; then
|
||||||
mkdir -p /tmp/${LOGDIR}_$$
|
mkdir -p /tmp/${LOGDIR}_$$
|
||||||
mv $(dirname $0)/../../relay/xwrelay.log /tmp/${LOGDIR}_$$
|
mv $(dirname $0)/../../relay/xwrelay.log /tmp/${LOGDIR}_$$
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "delete from games;" | psql -q -t xwgames
|
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 --file $FILE --slow-robot 1:3 --skip-confirm"
|
||||||
PARAMS="$PARAMS --drop-nth-packet $DROP_N $PLAT_PARMS"
|
PARAMS="$PARAMS --drop-nth-packet $DROP_N $PLAT_PARMS"
|
||||||
# PARAMS="$PARAMS --split-packets 2"
|
# PARAMS="$PARAMS --split-packets 2"
|
||||||
if [ -n $SEND_CHAT ]; then
|
if [ -n $SEND_CHAT ]; then
|
||||||
PARAMS="$PARAMS --send-chat $SEND_CHAT"
|
PARAMS="$PARAMS --send-chat $SEND_CHAT"
|
||||||
fi
|
fi
|
||||||
# PARAMS="$PARAMS --savefail-pct 10"
|
# PARAMS="$PARAMS --savefail-pct 10"
|
||||||
[ -n "$SEED" ] && PARAMS="$PARAMS --seed $RANDOM"
|
[ -n "$SEED" ] && PARAMS="$PARAMS --seed $RANDOM"
|
||||||
PARAMS="$PARAMS $PUBLIC"
|
PARAMS="$PARAMS $PUBLIC"
|
||||||
|
@ -626,14 +626,14 @@ while [ "$#" -gt 0 ]; do
|
||||||
UNDO_PCT=$(getArg $*)
|
UNDO_PCT=$(getArg $*)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--send-chat)
|
--send-chat)
|
||||||
SEND_CHAT=$(getArg $*)
|
SEND_CHAT=$(getArg $*)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--resign-ratio)
|
--resign-ratio)
|
||||||
RESIGN_RATIO=$(getArg $*)
|
RESIGN_RATIO=$(getArg $*)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--help)
|
--help)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue