Automatic commit Wed Jul 25 17:47:01 WST 2012
authorSam Moore <[email protected]>
Wed, 25 Jul 2012 09:47:01 +0000 (17:47 +0800)
committerSam Moore <[email protected]>
Wed, 25 Jul 2012 09:47:01 +0000 (17:47 +0800)
A kind of Batman of contemporary letters.
-- Philip Larkin on Anthony Burgess

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