make_installer: convert Win to Unix path for cygwin

Usual cygwin auto-conversion magic doesn't work for PATH variable,
which requires proper /cygdrive/foo/bar entries.

Change-Id: Ic07ffcdf7cb28c5e5702964c331f337ee811c063
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135032
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
Thorsten Behrens 2022-05-27 00:45:18 +02:00
parent ba0a713fe7
commit c9d018df61

View file

@ -71,7 +71,10 @@ $(if $(GNUPARALLEL), \
, \
$(call gb_Helper_print_on_error, \
cd $(dir $@) \
&& PATH="$(SRCDIR)/solenv/bin:$$PATH" \
$(if $(filter WNT,$(OS)), \
&& PATH="$(shell cygpath -u $(SRCDIR)/solenv/bin):$$PATH" \
, \
&& PATH="$(SRCDIR)/solenv/bin:$$PATH") \
$(foreach curpkg,$(1),\
&& call_installer.sh $(if $(verbose),-verbose,-quiet) $(curpkg) \
),$@.log))