From: Craig Small Date: Thu, 28 Jan 2021 11:32:41 +0000 (+1100) Subject: build-sys: Ignore c files in temp directory X-Git-Tag: v23.4~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9614dd4667a21658ee41314840a0653848df27f;p=psmisc build-sys: Ignore c files in temp directory If the build system had a temporary psmisc-* directory and update-potfiles was run, then the temporary files were included in the list, causing a lot of problems later. This update means we will ignore those files. --- diff --git a/po/update-potfiles b/po/update-potfiles index b9f620f..247307d 100755 --- a/po/update-potfiles +++ b/po/update-potfiles @@ -7,5 +7,6 @@ fi find . -name '*.c' | sort | - sed 's|^./||' > po/POTFILES.in + sed 's|^./|| +/^psmisc-/d' > po/POTFILES.in