Fixed French translations (#4875)
[opentx.git] / jenkins / nightly-22 / update-repo.sh
blobc27b46673dc70027fc4cf3fd911099f1177ea913
1 #!/bin/bash
3 # stops on first error
4 set -e
5 set -x
7 # make sure we are in the good directory
8 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
9 cd $DIR
10 source ./version.sh
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