From 1ed81a35c80c1f0aad3d1296d15603d89d6242be Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Wed, 25 Jul 2012 16:51:01 +0800 Subject: [PATCH] Automatic commit at Wed Jul 25 16:51:01 WST 2012 --- update.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.20.1