build: checkout *.po files at the end of makerpms.sh

*.po are re-generated during build. These changes shouldn't be
comitted to git unless translation have been updated (during
release).

Fixes https://pagure.io/freeipa/issue/6605

Signed-off-by: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
This commit is contained in:
Tomas Krizek 2017-08-14 17:47:23 +02:00 committed by Pavel Vomacka
parent 31a5cf588e
commit f32784f4cb

View File

@ -26,4 +26,8 @@ test ! -f "Makefile" && ./configure --enable-silent-rules \
"$@"
make rpms
# Workaround to ignore re-generated *.po files in git repo
# See https://pagure.io/freeipa/issue/6605
git checkout po/*.po
popd