summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rankings-tables-build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/rankings-tables-build.sh b/bin/rankings-tables-build.sh
index 0d85972..d3806a7 100755
--- a/bin/rankings-tables-build.sh
+++ b/bin/rankings-tables-build.sh
@@ -2,9 +2,9 @@
CONFIG=$1
DIR=$2
cat $CONFIG |
- jq '.[] | .date, .url, .index, .name' |
- xargs -n4 |
- while read DATE URL INDEX NAME
+ jq '.[] | .date, .url, .index, .menu_age // "old", .name' |
+ xargs -n5 |
+ while read DATE URL INDEX AGEMENU NAME
do
- python scripts/rankings-tables-compile.py "$NAME" $INDEX $DIR/.menu.html $DATE > $DIR/$URL
+ python scripts/rankings-tables-compile.py "$NAME" $INDEX $DIR/.menu.html $DATE "$AGEMENU" > $DIR/$URL
done