Admin/cronjob/self_update
author wenzelm
Tue Nov 01 01:25:54 2016 +0100 (2016-11-01)
changeset 64450 73859eb8d1fe
parent 64432 c381bfd068fd
child 64538 5dd15fc22a53
permissions -rwxr-xr-x
pull isabelle-release;
wenzelm@64148
     1
#!/bin/bash
wenzelm@64148
     2
#
wenzelm@64148
     3
# self-update of the administrative isabelle repository
wenzelm@64148
     4
#
wenzelm@64148
     5
# Need to copy this file manually to $HOME/cronjob in order to
wenzelm@64148
     6
# avoid overwriting the running self_update by itself!
wenzelm@64148
     7
wenzelm@64148
     8
source "$HOME/.bashrc"
wenzelm@64148
     9
wenzelm@64148
    10
cd "$HOME/cronjob"
wenzelm@64148
    11
mkdir -p run log
wenzelm@64148
    12
wenzelm@64450
    13
hg -R isabelle pull "http://bitbucket.org/isabelle_project/isabelle-release" -q || echo "self_update pull failed"
wenzelm@64148
    14
hg -R isabelle update -C -q || echo "self_update update failed"