summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2022-05-27 00:45:18 +0200
committerAndras Timar <andras.timar@collabora.com>2022-09-09 12:24:44 +0200
commit9b15e86c0a31926f0a5c0b5c5f6f0db639f60c3f (patch)
treea9d24c5b64a2407712e557ed426380344957162c
parent5eab3ec9c490f95084be5071d895b7111bfd232d (diff)
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>
-rw-r--r--instsetoo_native/CustomTarget_install.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk
index 9ee45b969df8..b9b4a964b81f 100644
--- a/instsetoo_native/CustomTarget_install.mk
+++ b/instsetoo_native/CustomTarget_install.mk
@@ -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))