commit 5777566ec6d1b9a822bd61ff05e4ff709fb50051 parent c1b8f2b22dff2a1a8d911c3546e13955c9d17ca0 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Thu, 18 Mar 2021 18:03:19 +0100 Add missing feed building script Diffstat:
| A | build-feed.sh | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/build-feed.sh b/build-feed.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# TODO: someday, generate both concerts page and feeds from a +# plaintext list of concerts. + +set -eu + +input=$1 +output=$2 + +. settings.sh + +sed s,'{DOMAIN}',"${domain}", "${input}" > "${output}"