From: Craig Small Date: Thu, 28 Jan 2021 11:35:33 +0000 (+1100) Subject: build-sys: Ignore temp directory for POTFILES.in X-Git-Tag: v4.0.0~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=779ca44b2d9f82923a7c38dc8a0934ed12adf9ef;p=procps-ng build-sys: Ignore temp directory for POTFILES.in Sometimes the testing sequence would leave a source tree under procps-ng-(version) which, if update-potfiles was run, would include these temporary files in the list, causing issues later. The script now explicitly ignores those temporary files. --- diff --git a/po/update-potfiles b/po/update-potfiles index b46ca0e1..366d584c 100755 --- a/po/update-potfiles +++ b/po/update-potfiles @@ -8,6 +8,7 @@ fi find . -name '*.c' | sort | sed 's|^./|| -/^contrib/d' > po/POTFILES.in +/^contrib/d +/^procps-ng/d' > po/POTFILES.in echo include/c.h >> po/POTFILES.in