summaryrefslogtreecommitdiff
path: root/tools/writegame.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/writegame.sh
parent1fd20db73895cf1ca8fab9cf2c7d288d3bcc1c92 (diff)
downloadserver-83835ea22d7e169f80d8740ce8a542103257d173.tar.gz
Remove obsolete tools and update other tools.
Diffstat (limited to 'tools/writegame.sh')
-rw-r--r--tools/writegame.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/writegame.sh b/tools/writegame.sh
deleted file mode 100644
index a6e673d..0000000
--- a/tools/writegame.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-if [ -n "$1" -a -f "$2" ]
-then
- sqlite3 db "update game_state set state=readfile('$2') where game_id = $1"
-else
- echo "usage: bash tools/writegame.sh GAME state.json"
-fi