X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=update.sh;h=ee12bdfc98e4b492dee9dd74f7f6bf60a5f7974a;hb=7d2570c6aac0c6a9f358af503ebc5485acad40a3;hp=b1d70f9365b04cca2ccbbf9d01f05e2fb610b2c3;hpb=30fa7a81adf71d0724b185f47396388cb3a2f032;p=matches%2Fhonours.git diff --git a/update.sh b/update.sh index b1d70f93..ee12bdfc 100755 --- a/update.sh +++ b/update.sh @@ -22,7 +22,10 @@ $git add thesis/*.pdf $git add thesis/*.bib $git add course/semester2 -$git commit -m "This is a test by the way." +#I've cracked it (derp)! +fortune="/usr/games/fortune" +message=$(echo "Automatic commit $(date)"; $fortune; echo "") +$git commit -m "$message" if [ "$?" == 0 ]; then echo "Commit at $(date)" >> commits.log $git push git.ucc 2>&1 >> commits.log