summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/CustomTarget_registry.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/officecfg/CustomTarget_registry.mk b/officecfg/CustomTarget_registry.mk
index 9aa17171f0f2..750716926930 100644
--- a/officecfg/CustomTarget_registry.mk
+++ b/officecfg/CustomTarget_registry.mk
@@ -29,7 +29,7 @@ ifeq ($(HAVE_GNUMAKE_FILE_FUNC),)
$(foreach file,$(officecfg_XCSFILES),\
&& echo "#include <officecfg/$(file).hxx>" >> $@)
else
- mv $(call var2file,$(shell mkdir -p $(dir $@) && truncate -s 0 $@.tmp && echo $@.tmp),100,$(foreach file,$(officecfg_XCSFILES),$(call officecfg_geninclude,$(file)))) $@
+ mv $(call var2file,$(shell mkdir -p $(dir $@) && cat /dev/null >$@.tmp && echo $@.tmp),100,$(foreach file,$(officecfg_XCSFILES),$(call officecfg_geninclude,$(file)))) $@
endif
# pass the stem as space separated path elements and get a set of --stringparam ns<level> <element> in return