projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Full implementation of wayback option.
[super-star-trek.git]
/
replay
diff --git
a/replay
b/replay
index cb90dc589c026e02995f40d8d8163d19f61d1165..7fc0641555e615b4e145b4f90ef2a6abedff7b9e 100755
(executable)
--- a/
replay
+++ b/
replay
@@
-5,10
+5,11
@@
# repeating this any number of times should produce identical games,
# unless the code changes.
#
# repeating this any number of times should produce identical games,
# unless the code changes.
#
+TMP=${TMPDIR:-/tmp}
if [ $1 ]
then
if [ $1 ]
then
- head -n `expr $1 + 2` <
/tmp
/sst-input.log >replay.log
+ head -n `expr $1 + 2` <
$TMP
/sst-input.log >replay.log
else
else
- mv
/tmp
/sst-input.log replay.log
+ mv
$TMP
/sst-input.log replay.log
fi
fi
-python
sst.py
-t -r replay.log
+python
3 sst
-t -r replay.log