diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-05-25 13:21:26 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-05-26 01:09:55 +0200 |
commit | aee953d7b66c02bbd7034cbf8991e3748dc3794a (patch) | |
tree | a66c7f15fffc98026d9ed70ab1ac39aab10043f6 /instsetoo_native/CustomTarget_install.mk | |
parent | 50d0beecf23468e3f9a7090e2723e9bbf94b30bf (diff) |
Reduce cmd line length for make_installer calls
Seems on Windows, we're hitting the 8k character max cmd line length,
on setups with slightly deeper src tree path locations. Shorten length
of expanded call_installer calls by putting shell script into PATH
locally.
Change-Id: If1cddab9e4e07a7c5ebfae7a4e88e43b1bc8b907
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134938
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'instsetoo_native/CustomTarget_install.mk')
-rw-r--r-- | instsetoo_native/CustomTarget_install.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk index 47b2ffe1a262..37b177ab94c2 100644 --- a/instsetoo_native/CustomTarget_install.mk +++ b/instsetoo_native/CustomTarget_install.mk @@ -71,8 +71,9 @@ $(if $(GNUPARALLEL), \ , \ $(call gb_Helper_print_on_error, \ cd $(dir $@) \ + && PATH="$(SRCDIR)/solenv/bin:$$PATH" \ $(foreach curpkg,$(1),\ - && $(SRCDIR)/solenv/bin/call_installer.sh $(if $(verbose),-verbose,-quiet) $(curpkg) \ + && call_installer.sh $(if $(verbose),-verbose,-quiet) $(curpkg) \ ),$@.log)) endef |