summaryrefslogtreecommitdiff
path: root/tools/readgame.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-11-24 21:23:56 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-25 17:37:12 +0100
commit83835ea22d7e169f80d8740ce8a542103257d173 (patch)
tree24744e958aca45e583563ed6db9c58194dcd0b5c /tools/readgame.sh
parent1fd20db73895cf1ca8fab9cf2c7d288d3bcc1c92 (diff)
downloadserver-83835ea22d7e169f80d8740ce8a542103257d173.tar.gz
Remove obsolete tools and update other tools.
Diffstat (limited to 'tools/readgame.sh')
-rw-r--r--tools/readgame.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/readgame.sh b/tools/readgame.sh
deleted file mode 100644
index 4a8fdbd..0000000
--- a/tools/readgame.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-if [ -n "$1" -a -n "$2" ]
-then
- sqlite3 db "select writefile('$2',state) from game_state where game_id = $1"
-elif [ -n "$1" ]
-then
- sqlite3 db "select state from game_state where game_id = $1"
-else
- echo "usage: bash tools/readgame.sh GAME [ state.json ]"
-fi