diff --git a/rivet b/rivet index 278e3cd..2495da5 100755 --- a/rivet +++ b/rivet @@ -112,10 +112,15 @@ if ! [ "$SKIP_HEADER" ]; then fi # Prepate the footer if ! [ "$SKIP_FOOTER" ]; then + tmpfoot="tmpfootfile.tmp" + cp "$footerfile" "$tmpfoot" + sed -i '1s/^/' >> "$tmpfoot" find "$destdir" -name "*.html" | while IFS="" read -r file; do - sed -i "/