From: Sam Moore Date: Wed, 25 Jul 2012 08:51:01 +0000 (+0800) Subject: Automatic commit at Wed Jul 25 16:51:01 WST 2012 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1ed81a35c80c1f0aad3d1296d15603d89d6242be;p=matches%2Fhonours.git Automatic commit at Wed Jul 25 16:51:01 WST 2012 --- diff --git a/update.sh b/update.sh index 8746d1ce..a4587a85 100755 --- a/update.sh +++ b/update.sh @@ -6,6 +6,9 @@ directory="/home/sam/Documents/University/honours/" cd "$directory" +# Need to do this too. Apparently +eval `ssh-agent -s` + echo "Committing at $(date)" >> commits.log git add update.sh git add papers @@ -23,3 +26,5 @@ git commit -m "Automatic commit at $(date)" if [ "$?" == 0 ]; then git push git.ucc fi + +kill $SSH_AGENT_PID