blob: 6610d43328ab579a7607765357978cd2973fd58c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env bash
set -e # Fail if any command fails
set -u # Fail if any variable is unset when used
export LOGFILE=potfiles.log
source ./tools/ci/scripts/init.sh
./po/POTgen.sh
# error if POTgen applied any changes
git diff >> "$ERRFILE"
# Save in-progress work in case someone runs this script manually.
#git stash push -m "POTgen run"
# Restore repository back to original state for other ci jobs.
#git reset --hard
run_check_warnings
echo ok
|