Browse Source

fixed _header.html being replaced by _footer.html

master
Alessandro Mauri 2 weeks ago
parent
commit
2420bc6d6d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rivet.sh

+ 2
- 2
rivet.sh View File

@ -139,9 +139,9 @@ mv "$tmpsed" "$headerfile"
sed 's/<\/header>//' "$headerfile" > "$tmpsed"
mv "$tmpsed" "$headerfile"
sed 's/<footer.*>//' "$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/\/$//')"


Loading…
Cancel
Save