From feb0e6a2f9b9e16540cef5d79a1624a2e461a09c Mon Sep 17 00:00:00 2001 From: Lucidiot Date: Sat, 24 Jul 2021 22:19:02 +0200 Subject: [PATCH] Fix global CDF feed --- bin/cdfmerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdfmerge b/bin/cdfmerge index 39e22e3..4086953 100755 --- a/bin/cdfmerge +++ b/bin/cdfmerge @@ -10,7 +10,7 @@ echo " " > "$DIR/feeds.cdf.new" # Grab the paths to all generated CDF feeds from the XML in stdin -"$DIR/bin/xml2json" | jq --raw-output --arg DIR "$DIR" '.. | objects | select(.["@format"] == "cdf") | "\($DIR)/feeds/\(.output // .link)"' | xargs tail -q -n+2 > "$DIR/feeds.cdf.new" +"$DIR/bin/xml2json" | jq --raw-output --arg DIR "$DIR" '.. | objects | select(.["@format"] == "cdf") | "\($DIR)/feeds/\(.output // .link)"' | xargs tail -q -n+2 >> "$DIR/feeds.cdf.new" echo '' >> "$DIR/feeds.cdf.new"