paritybit.ca

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

commit 6248dac2e0083876c61bde01ca2b65f9a72621ce
parent dfe58c2e2308a6e0cc42d4f15c214f6012955d0d
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 11 Jun 2020 16:09:26 -0400

Remove debug printout, add ':'

Diffstat:
Mpublish | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/publish b/publish @@ -169,7 +169,6 @@ update_sitemap() echo "$baseURL" > /tmp/base-url.txt sed -i -e 's/\//\\\//g' /tmp/base-url.txt baseURLClean=$(cat /tmp/base-url.txt) - echo $baseURLClean sed -i -e "/$baseURLClean</a\\ <url\>\<loc\>$baseURLClean\/$fileName\<\/loc\>\<\/url\>" \ public/sitemap.xml @@ -233,7 +232,7 @@ for file in "$@"; do print_header_msg "PUBLISHING: $file" # Thanks to: https://stackoverflow.com/a/27875395/12865517 - printf "Are you sure you wish to publish this post? [y/N] " + printf "Are you sure you wish to publish this post? [y/N]: " old_stty_cfg=$(stty -g) stty raw -echo answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )