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"