Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f2dd106

Browse files
committed
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.
1 parent 4a4e689 commit f2dd106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nls.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
1313
report_invalid_record:2:c-format
1414

1515
gettext-files: distprep
16-
find $(srcdir)/ $(srcdir)/../common/ $(srcdir)/../port/ -name '*.c' -print | LC_ALL=C sort >$@
16+
find $(srcdir) $(srcdir)/../common $(srcdir)/../port -name '*.c' -print | LC_ALL=C sort >$@
1717

1818
my-clean:
1919
rm -f gettext-files

0 commit comments

Comments
 (0)