Admin/cronjob/self_update
author wenzelm
Wed, 28 Mar 2018 11:54:18 +0200
changeset 67954 b731a8d37131
parent 67744 5c781dcd5864
child 67955 f69ea1a88c1a
permissions -rwxr-xr-x
proper self_update of components -- do assume shared file-system;

#!/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 "https://isabelle.in.tum.de/repos/isabelle" -q || echo "self_update pull failed"
hg -R isabelle update -C -q || echo "self_update update failed"
isabelle/bin/isabelle components -a || echo "self_update components failed"