]> granicus.if.org Git - procps-ng/commitdiff
build-sys: Ignore temp directory for POTFILES.in
authorCraig Small <csmall@dropbear.xyz>
Thu, 28 Jan 2021 11:35:33 +0000 (22:35 +1100)
committerCraig Small <csmall@dropbear.xyz>
Mon, 15 Feb 2021 10:47:35 +0000 (21:47 +1100)
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

index b46ca0e1acafe04a9fb2f9c7adcc19d9f8b8c4e9..366d584c177fb2263b60e3bc85dbc72c9fb31065 100755 (executable)
@@ -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