Automatic commit Wed Jul 25 17:47:01 WST 2012
[matches/honours.git] / update.sh
index b1d70f9..ee12bdf 100755 (executable)
--- 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

UCC git Repository :: git.ucc.asn.au