diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-06 21:28:17 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-07 08:44:28 +0000 |
commit | e9cd5087366f930efd89a95c0a5610fe8f375581 (patch) | |
tree | 77e83e7d88a8f6cf4a485b5f70686588661bc7a8 /solenv/gbuild/platform | |
parent | 2e11a3e03ed37eb86cd87f68191c48d2a6e442cb (diff) |
configure: hard-code /usr/bin/{sort,find} for Cygwin
... to avoid calling C:/Windows/system32/{sort,find}.exe, if those
happen to be first in PATH.
On a Windows 7 system, the other conflicts appear to be harmless,
we don't use "more", "expand", "timeout", "whoami".
Change-Id: Iceefeb7ee6725291b04c0eba465991bb1df96b57
Reviewed-on: https://gerrit.libreoffice.org/21175
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_class.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_MSC_class.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk index b7c1e6537184..099c5d385fbe 100644 --- a/solenv/gbuild/platform/com_GCC_class.mk +++ b/solenv/gbuild/platform/com_GCC_class.mk @@ -224,7 +224,7 @@ gb_ICU_PRECOMMAND := $(call gb_Helper_extend_ld_path,$(WORKDIR_FOR_BUILD)/Unpack # Mac OS X sort(1) cannot read a response file define gb_UIConfig__command $(call gb_Helper_abbreviate_dirs,\ - sort -u $(UI_IMAGELISTS) /dev/null > $@ \ + $(SORT) -u $(UI_IMAGELISTS) /dev/null > $@ \ ) endef diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 2ed964955937..4dbdb903b49f 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -578,7 +578,7 @@ define gb_UIConfig__command $(call gb_Helper_abbreviate_dirs,\ RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),100,$(if $(UI_IMAGELISTS),$(strip $(UI_IMAGELISTS)),/dev/null)) \ && tr " " "\000" < $$RESPONSEFILE | tr -d "\r\n" > $$RESPONSEFILE.0 \ - && sort -u --files0-from=$$RESPONSEFILE.0 > $@ \ + && $(SORT) -u --files0-from=$$RESPONSEFILE.0 > $@ \ && rm $$RESPONSEFILE $$RESPONSEFILE.0 \ ) |