From f66360ebe01a23279b3e91e94634ce43aefea53f Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Aug 18 2017 09:45:21 +0000 Subject: 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 Reviewed-By: Pavel Vomacka --- diff --git a/makerpms.sh b/makerpms.sh index bdf0231..a701d36 100755 --- a/makerpms.sh +++ b/makerpms.sh @@ -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