f0c5cf279d
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.
15 lines
238 B
Bash
Executable File
15 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ ! -f "po/Makevars" ]; then
|
|
echo "You must run this script in the top-level directory"
|
|
exit 1
|
|
fi
|
|
|
|
find . -name '*.c' |
|
|
sort |
|
|
sed 's|^./||
|
|
/^contrib/d
|
|
/^procps-ng/d' > po/POTFILES.in
|
|
|
|
echo include/c.h >> po/POTFILES.in
|