repo.or.cz
/
opentx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix doc path
[opentx.git]
/
jenkins
/
release-21
/
update-repo.sh
blob
c27b46673dc70027fc4cf3fd911099f1177ea913
1
#!/bin/bash
2
3
# stops on first error
4
set -e
5
set -x
6
7
# make sure we are in the good directory
8
DIR
=
$
(
cd
"$( dirname "
${BASH_SOURCE[0]}
" )"
&&
pwd
)
9
cd
$DIR
10
source
.
/
version.sh
11
12
# pull the latest changes
13
cd
opentx
14
git fetch
15
git checkout
$branch
16
git
reset
--hard
origin
/
$branch
17
chmod
-Rf
g
+
w . || true
18