Admin/cronjob/self_update
author wenzelm
Fri, 02 Mar 2018 15:16:10 +0100
changeset 67744 5c781dcd5864
parent 64538 5dd15fc22a53
child 67954 b731a8d37131
permissions -rwxr-xr-x
prefer https;

#!/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"