diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-05-27 00:45:18 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-05-27 09:33:45 +0200 |
commit | c9d018df610b7bd7d5794231b2ccb0d8090573a6 (patch) | |
tree | 47555bcb3ed8d461629beebad4d849845d00e5a5 /instsetoo_native | |
parent | tdf#149268 avoid null pointer dereference (diff) | |
download | core-c9d018df610b7bd7d5794231b2ccb0d8090573a6.tar.gz core-c9d018df610b7bd7d5794231b2ccb0d8090573a6.zip |
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>
Diffstat (limited to 'instsetoo_native')
-rw-r--r-- | instsetoo_native/CustomTarget_install.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk index 37b177ab94c2..e4642c6ed6d2 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)) |