Admin/cronjob/self_update
author wenzelm
Sun, 04 Dec 2016 18:53:22 +0100
changeset 64538 5dd15fc22a53
parent 64450 73859eb8d1fe
child 67744 5c781dcd5864
permissions -rwxr-xr-x
back to isabelle-dev repository;

#!/bin/bash
#
# self-update of the administrative isabelle repository
#
# Need to copy this file manually to $HOME/cronjob in order to
# avoid overwriting the running self_update by itself!

source "$HOME/.bashrc"

cd "$HOME/cronjob"
mkdir -p run log

hg -R isabelle pull "http://isabelle.in.tum.de/repos/isabelle" -q || echo "self_update pull failed"
hg -R isabelle update -C -q || echo "self_update update failed"