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

index a4587a8..0eeb115 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -7,7 +7,7 @@ directory="/home/sam/Documents/University/honours/"
 cd "$directory" 
 
 # Need to do this too. Apparently
-eval `ssh-agent -s`
+##eval `ssh-agent -s`
 
 echo "Committing at $(date)" >> commits.log
 git add update.sh
@@ -24,7 +24,7 @@ git add course/semester2
 
 git commit -m "Automatic commit at $(date)"
 if [ "$?" == 0 ]; then
-       git push git.ucc
+       git push git.ucc 2>&1 >> commits.log
 fi
 
-kill $SSH_AGENT_PID
+#kill $SSH_AGENT_PID

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