summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-10 09:47:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-10 11:17:14 +0200
commit410cbc4d872403947e94598cfb24685819b6bfd7 (patch)
treeccc7b66ed57cbf225df4a2d7556d312889bdc792 /Makefile.in
parent6a85925841feffdefead52ba35acd3379c8aa8ce (diff)
Work around "find: The environment is too large for exec()" errors on Windows
...similar to df9edbcd2883cec2d0596133131cfbc220dee91f 'Work around 'xargs: environment is too large for exec' errors on Windows" Change-Id: I50bc5c73b84e2d8e7adc70f72f9af2d23a0b3b36 Reviewed-on: https://gerrit.libreoffice.org/60241 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 62964a7ccb7d..a18121d200ca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -224,7 +224,7 @@ distclean : clean compilerplugins-clean
$(BUILDDIR)/instsetoo_native/util/openoffice.lst \
$(BUILDDIR)/lo.xcent \
$(BUILDDIR)/sysui/desktop/macosx/Info.plist
- $(FIND) $(SRCDIR)/solenv/gdb -name \*.pyc -exec rm {} \;
+ $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") $(FIND) $(SRCDIR)/solenv/gdb -name \*.pyc -exec rm {} \;
#
# custom command