summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2021-01-28 22:35:33 +1100
committerCraig Small <csmall@dropbear.xyz>2021-02-15 21:47:35 +1100
commit779ca44b2d9f82923a7c38dc8a0934ed12adf9ef (patch)
tree7336018626455396ac55e45cc9f6ea7b55bcc77b /po
parentdd990f86384760090976f632dbd642b240afea30 (diff)
downloadprocps-ng-779ca44b2d9f82923a7c38dc8a0934ed12adf9ef.tar.gz
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.
Diffstat (limited to 'po')
-rwxr-xr-xpo/update-potfiles3
1 files changed, 2 insertions, 1 deletions
diff --git a/po/update-potfiles b/po/update-potfiles
index b46ca0e..366d584 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