From 7d2570c6aac0c6a9f358af503ebc5485acad40a3 Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Wed, 25 Jul 2012 17:47:01 +0800 Subject: [PATCH] Automatic commit Wed Jul 25 17:47:01 WST 2012 A kind of Batman of contemporary letters. -- Philip Larkin on Anthony Burgess --- update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 1646d81b..ee12bdfc 100755 --- 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 -- 2.20.1