Put back the mkdir

...that 1c84943890 "run msguniq .. | msgfmt in a
subshell to help out wsl1", and which caused all kinds of from-scratch builds to
fail now with

> [build MO ] accde
> msgfmt: error while opening "/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/MoTarget/accde.mo" for writing: No such file or directory
> make[1]: *** [/home/tdf/lode/jenkins/workspace/lo_ubsan/solenv/gbuild/AllLangMoTarget.mk:40: /home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/MoTarget/accde.mo] Error 1

etc. (<https://ci.libreoffice.org/job/lo_ubsan/3288/>

Change-Id: I756ebdf68f09367d24181ed47b6b5735c45aebf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172484
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann 2024-08-28 07:48:44 +02:00
parent d5d2f4ae1c
commit 07fda01117

View file

@ -37,6 +37,7 @@ $(call gb_MoTarget_get_clean_target,%) :
$(call gb_MoTarget_get_target,%) : $(gb_Helper_MISCDUMMY)
$(call gb_Output_announce,$*,$(true),MO ,2)
$(call gb_Trace_StartRange,$*,MO )
$(call gb_Helper_abbreviate_dirs,mkdir -p $(dir $@)) && \
$(call gb_Helper_wsl_path,$(WSL) /bin/sh -c "$(MSGUNIQ) --force-po $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@")
$(call gb_Trace_EndRange,$*,MO )