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
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