Admin/cronjob/self_update
author wenzelm
Fri, 11 Nov 2016 21:06:15 +0100
changeset 64498 bb29e6849a28
parent 64450 73859eb8d1fe
child 64538 5dd15fc22a53
permissions -rwxr-xr-x
$HOME/.bashrc provides TZ for *all* processes, resulting in proper date for Build_Log.log_date in remote_build_history via ssh (see also fe8f8f88a1d7);

#!/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://bitbucket.org/isabelle_project/isabelle-release" -q || echo "self_update pull failed"
hg -R isabelle update -C -q || echo "self_update update failed"