Automatic commit Wed Jul 25 17:47:01 WST 2012
[matches/honours.git] / update.sh
index 1646d81..ee12bdf 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -22,8 +22,9 @@ $git add thesis/*.pdf
 $git add thesis/*.bib
 $git add course/semester2
 
-#Dammit why fortune not work!
-message=$(echo "Automatic commit $(date)"; fortune -s; echo "")
+#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

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