author | haftmann |
Mon, 10 Aug 2020 08:27:24 +0200 | |
changeset 72129 | 9e0321263eb3 |
parent 68650 | 7538b5f301ea |
child 73479 | 6e20976d58f5 |
permissions | -rwxr-xr-x |
64148 | 1 |
#!/bin/bash |
2 |
# |
|
3 |
# self-update of the administrative isabelle repository |
|
4 |
# |
|
5 |
# Need to copy this file manually to $HOME/cronjob in order to |
|
6 |
# avoid overwriting the running self_update by itself! |
|
7 |
||
8 |
source "$HOME/.bashrc" |
|
9 |
||
10 |
cd "$HOME/cronjob" |
|
11 |
mkdir -p run log |
|
12 |
||
67955
f69ea1a88c1a
clarified handling of stdout vs. stderr: the cronjob should normally be silent;
wenzelm
parents:
67954
diff
changeset
|
13 |
{ |
68650
7538b5f301ea
evade odd connection problems to https://isabelle.in.tum.de from some remote hosts;
wenzelm
parents:
67955
diff
changeset
|
14 |
hg -R isabelle pull "https://isabelle.sketis.net/repos/isabelle" || echo "self_update pull failed" >&2 |
67955
f69ea1a88c1a
clarified handling of stdout vs. stderr: the cronjob should normally be silent;
wenzelm
parents:
67954
diff
changeset
|
15 |
hg -R isabelle update -C || echo "self_update update failed" >&2 |
f69ea1a88c1a
clarified handling of stdout vs. stderr: the cronjob should normally be silent;
wenzelm
parents:
67954
diff
changeset
|
16 |
isabelle/bin/isabelle components -a 2>&1 || echo "self_update components failed" >&2 |
f69ea1a88c1a
clarified handling of stdout vs. stderr: the cronjob should normally be silent;
wenzelm
parents:
67954
diff
changeset
|
17 |
} > run/self_update.out |