aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-09-18 22:03:42 -0400
committerPeter Eisentraut <peter_e@gmx.net>2015-09-18 22:06:54 -0400
commitf2dd10613e7fdd40cb4f543d86e7ef19f6d0a6e4 (patch)
tree647473311d76e01085a6ec84f2c2d157d9ade480
parent4a4e6893aa080b9094dadbe0e65f8a75fee41ac6 (diff)
downloadpostgresql-f2dd10613e7fdd40cb4f543d86e7ef19f6d0a6e4.tar.gz
postgresql-f2dd10613e7fdd40cb4f543d86e7ef19f6d0a6e4.zip
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.
-rw-r--r--src/backend/nls.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/nls.mk b/src/backend/nls.mk
index fa4ff1a4e98..c021ab87da3 100644
--- a/src/backend/nls.mk
+++ b/src/backend/nls.mk
@@ -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