summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--butler/config.json6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4f41bab..907f087 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ dumps: FORCE
s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/
./dumps/load-dumps.sh
-butler: dumps FORCE
+butler: FORCE
python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
diff --git a/butler/config.json b/butler/config.json
index 3654b57..1fef174 100644
--- a/butler/config.json
+++ b/butler/config.json
@@ -79,9 +79,9 @@
"INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 11, id, id, id+7, '--' FROM teams WHERE id < 8;",
"UPDATE admin SET teamcnt = 16;",
"INSERT INTO _teams(id, bye) VALUES(15, 2),(16, 2);",
- "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM rounds;",
- "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM rounds;",
- "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM rounds;"
+ "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM _rounds;",
+ "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM _rounds;",
+ "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM _rounds;"
]
}
}