summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-11-24 10:22:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-11-24 11:35:38 +0100
commit4dc372c87b194c32597eda6a7f99ddcee3108fa6 (patch)
tree2f149d30ca6e698d11450175ffe966a2ba5d8339 /solenv/gbuild
parent8467aa93e2038b3030e1add94e0ca6cc4ad44032 (diff)
Expansion of $(dir ...) always ends in a slash, no need for an additional one
Change-Id: I06172beeeccffd54feb1e1083f0ceef203423ab1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143206 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/Module.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index fe7470e85822..f3224179fbe8 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -246,9 +246,9 @@ $(WORKDIR)/pot.done : $(foreach exec,cfgex helpex localize propex ulfex xrmex tr
$(call gb_Output_announce,$(subst .pot,,$(subst $(WORKDIR)/,,$@)),$(true),POT,1)
$(call gb_Trace_MakeMark,$(subst .pot,,$(subst $(WORKDIR)/,,$@)),POT)
$(call gb_Helper_abbreviate_dirs,\
- mkdir -p $(dir $@) && $(call gb_Helper_execute,localize) $(SRCDIR) $(dir $@)/pot \
+ mkdir -p $(dir $@) && $(call gb_Helper_execute,localize) $(SRCDIR) $(dir $@)pot \
$(gb_Helper_LIBRARY_PATH_VAR)"$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
- && $(FIND) $(dir $@)/pot -type f -printf "%P\n" | sed -e "s/\.pot/.po/" | LC_ALL=C $(SORT) > $(dir $@)/LIST \
+ && $(FIND) $(dir $@)pot -type f -printf "%P\n" | sed -e "s/\.pot/.po/" | LC_ALL=C $(SORT) > $(dir $@)LIST \
&& touch $@)
# enable if: no "-MODULE/" defined AND ["all" defined OR "MODULE/" defined]