paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5b42dbc6e93c1c5564ec20ac2a9839c8a93bcc89
parent 1d1743a822e6f0abe5cdedfea34bbdeaeb255ab3
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon, 30 Dec 2019 13:42:58 -0500

Fix sed expression

Diffstat:
Mpublish | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/publish b/publish @@ -175,7 +175,8 @@ tput sgr0 # Update the sitemap printf " Updating sitemap.xml " -sed -i "/$baseURL/a \<url\>\<loc\>$baseURL/$filename\<\/loc\>\<\/url\>" +baseURLClean=$(sed -e 's/\//\\\//' <<< "$baseURL") +sed -i "/$baseURLClean/a \<url\>\<loc\>$baseURLClean/$filename\<\/loc\>\<\/url\>" public/sitemap.xml tput setaf 2; tput bold echo "[DONE]"