mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
Remove trailing slashes from directories in find command
BSD find is not very smart and ends up writing double slashes into the output in those cases. Also, xgettext is not very smart and splits the file names incorrectly in those cases, resulting in slightly incorrect file names being written into the POT file.
This commit is contained in:
parent
4a4e6893aa
commit
f2dd10613e
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
|
|||
report_invalid_record:2:c-format
|
||||
|
||||
gettext-files: distprep
|
||||
find $(srcdir)/ $(srcdir)/../common/ $(srcdir)/../port/ -name '*.c' -print | LC_ALL=C sort >$@
|
||||
find $(srcdir) $(srcdir)/../common $(srcdir)/../port -name '*.c' -print | LC_ALL=C sort >$@
|
||||
|
||||
my-clean:
|
||||
rm -f gettext-files
|
||||
|
|
|
|||
Loading…
Reference in a new issue