From f0c5cf279d96d83ed23c83f9d96b9dd5425015d8 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Thu, 28 Jan 2021 22:35:33 +1100 Subject: [PATCH] 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. --- po/update-potfiles | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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