summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Luby <guibmacdev@gmail.com>2024-10-15 15:51:07 -0400
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-10-16 05:57:45 +0200
commit34b95e12a839cbcf4818bbb0b2ce26b85999e856 (patch)
tree44d31bdbf4d7b11f8bbb33cce5630cf381023ef0
parent337162e50b38875f626a64667ddb83f8930eab35 (diff)
On macOS the "cp" command does not have a "-T" option
Change-Id: Id7d81c23e79569a74c26e5a69890b3b41f4b2aa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174982 Reviewed-by: Patrick Luby <guibomacdev@gmail.com> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
-rw-r--r--solenv/gbuild/UITest.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk
index 282df21b9112..328216d2c259 100644
--- a/solenv/gbuild/UITest.mk
+++ b/solenv/gbuild/UITest.mk
@@ -63,7 +63,7 @@ else
$(call gb_Helper_abbreviate_dirs,\
rm -rf $(dir $(call gb_UITest_get_target,$*)) && \
mkdir -p $(dir $(call gb_UITest_get_target,$*))/user/user && \
- cp -T $(if $(gb_UITest_use_config),$(gb_UITest_use_config),$(SRCDIR)/qadevOOo/qa/registrymodifications.xcu) $(dir $(call gb_UITest_get_target,$*))/user/user/registrymodifications.xcu && \
+ cp $(if $(filter-out MACOSX,$(OS)),-T) $(if $(gb_UITest_use_config),$(gb_UITest_use_config),$(SRCDIR)/qadevOOo/qa/registrymodifications.xcu) $(dir $(call gb_UITest_get_target,$*))/user/user/registrymodifications.xcu && \
$(if $(gb_UITest__interactive),, \
rm -fr $@.core && mkdir -p $(dir $(call gb_UITest_get_target,$*))user/ && mkdir $@.core && cd $@.core && ) \
$(call gb_CppunitTest_coredumpctl_setup,$@) \