From b9d956bc8076ed1c2689c004ac725545908752af Mon Sep 17 00:00:00 2001 From: Neil Ray Date: Thu, 27 Aug 2020 18:43:18 -0400 Subject: add uuto save to git repos for plan & proj --- update.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 1a48a1a..9fa3fde 100755 --- a/update.sh +++ b/update.sh @@ -2,12 +2,15 @@ # concatenate html files & .plan then write to http root -tin_img=tinman3.trans.cmpress.png +tin_img=tinman3.trans.compress.png cd ~/prep_html +cp ~/.plan ~/.project store_plan_proj +git add store_plan_proj +git commit -m 'usual updates to plan & project' sed "s/TINMAN/$tin_img/g" top.tmpl > top.html sed "s/^Status:/Status (`date +%Y-%m-%d`):/" ~/.plan > plan.cooked cat top.html ~/.project mid.html plan.cooked end.html > ~/public_html/index.html if [ ! -e ~/public_html/$tin_img ]; then cp $tin_img ~/public_html; fi -rm plan.cooked +rm plan.cooked top.html -- cgit