diff options
Diffstat (limited to 'bin/build.sh')
-rwxr-xr-x | bin/build.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/build.sh b/bin/build.sh index 14b4f98..901bb41 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,10 +1,8 @@ #!/bin/bash CONFIG=$1 DIR=$2 -rm config/dates.json -ln -s $CONFIG config/dates.json PREV_DATE="" -cat config/dates.json | +cat $CONFIG | jq '.[] | .date, .url, .index, .name' | xargs -n4 | while read DATE URL INDEX NAME |