From 2420bc6d6d4e96a06f0218198957c15ed8d6bf1e Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Tue, 23 Nov 2021 19:59:43 +0100 Subject: [PATCH] fixed _header.html being replaced by _footer.html --- rivet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rivet.sh b/rivet.sh index ec4eef8..fff2703 100644 --- a/rivet.sh +++ b/rivet.sh @@ -139,9 +139,9 @@ mv "$tmpsed" "$headerfile" sed 's/<\/header>//' "$headerfile" > "$tmpsed" mv "$tmpsed" "$headerfile" sed 's///' "$footerfile" > "$tmpsed" -mv "$tmpsed" "$headerfile" +mv "$tmpsed" "$footerfile" sed 's/<\/footer>//' "$footerfile" > "$tmpsed" -mv "$tmpsed" "$headerfile" +mv "$tmpsed" "$footerfile" # Remove any junk from the domain eg. [https://]domain.com[/] domain="$(echo "$2" | sed -e 's/^https*:\/\///' -e 's/\/$//')"