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.
This commit is contained in:
Craig Small 2021-01-28 22:35:33 +11:00
parent 0ffb087214
commit f0c5cf279d

View File

@ -8,6 +8,7 @@ fi
find . -name '*.c' | find . -name '*.c' |
sort | sort |
sed 's|^./|| sed 's|^./||
/^contrib/d' > po/POTFILES.in /^contrib/d
/^procps-ng/d' > po/POTFILES.in
echo include/c.h >> po/POTFILES.in echo include/c.h >> po/POTFILES.in