Automatic commit at Wed Jul 25 16:51:01 WST 2012
authorSam Moore <[email protected]>
Wed, 25 Jul 2012 08:51:01 +0000 (16:51 +0800)
committerSam Moore <[email protected]>
Wed, 25 Jul 2012 08:51:01 +0000 (16:51 +0800)
update.sh

index 8746d1c..a4587a8 100755 (executable)
--- 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

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