Admin/cronjob/self_update
author wenzelm
Mon Oct 02 19:28:18 2017 +0200 (21 months ago)
changeset 66757 e32750d7acb4
parent 64538 5dd15fc22a53
child 67744 5c781dcd5864
permissions -rwxr-xr-x
added command 'external_file';
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@64538
    13
hg -R isabelle pull "http://isabelle.in.tum.de/repos/isabelle" -q || echo "self_update pull failed"
wenzelm@64148
    14
hg -R isabelle update -C -q || echo "self_update update failed"