# repeating this any number of times should produce identical games,
# unless the code changes.
#
+TMP=${TMPDIR:-/tmp}
if [ $1 ]
then
- head -n `expr $1 + 2` </usr/tmp/sst-input.log >replay.log
+ head -n `expr $1 + 2` <$TMP/sst-input.log >replay.log
else
- mv /usr/tmp/sst-input.log replay.log
+ mv $TMP/sst-input.log replay.log
fi
python sst.py -t -r replay.log