minor typos

This commit is contained in:
CPunch 2023-02-01 18:01:52 -06:00
parent af53eb4637
commit bf198f9d63
3 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,7 @@ if [ $LOCAL = $REMOTE ]; then
# to check for changes (changed_when) # to check for changes (changed_when)
echo "up to date" echo "up to date"
elif [ $LOCAL = $BASE ]; then elif [ $LOCAL = $BASE ]; then
# there are changes to reset too so we need to rebuild # there are changes to reset to so we need to rebuild
echo "missing changes !!" echo "missing changes !!"
git reset --hard origin/main git reset --hard origin/main
buildBlog buildBlog

View File

@ -22,5 +22,5 @@ echo $dTime
if [ $dTime -gt $triggerTime ] if [ $dTime -gt $triggerTime ]
then then
touch $fileLock touch $fileLock
bash $scriptToRun source $scriptToRun
fi fi

View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
cd $HOME/deadman cd $HOME/deadman
postPatch='dead.patch' postPatch='dead.patch'
@ -10,7 +9,7 @@ git clone git@github.com:CPunch/openpunk.git
# commit & push the post # commit & push the post
cd openpunk cd openpunk
git am postPatch git am $postPatch
# replace our --DATE-- with the current date # replace our --DATE-- with the current date
sed -i 's/--DATE--/'$currDate'/g' $pageName sed -i 's/--DATE--/'$currDate'/g' $pageName
git add . git add .