diff options
author | Neil Ray <ray@tilde.institute> | 2020-08-27 18:43:18 -0400 |
---|---|---|
committer | Neil Ray <ray@tilde.institute> | 2020-08-27 18:43:18 -0400 |
commit | b9d956bc8076ed1c2689c004ac725545908752af (patch) | |
tree | 717ff0c6e649ca678f455982da344a61bf8c36d2 | |
parent | e2968ef8b8d38a77213e880cca066562ac89ce1e (diff) | |
download | prep_html-b9d956bc8076ed1c2689c004ac725545908752af.tar.gz |
add uuto save to git repos for plan & proj
-rwxr-xr-x | update.sh | 7 |
1 files 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 |