aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorTobias Kühne <unknown>2018-02-22 08:13:37 +1100
committerTobias Kühne <unknown>2018-02-22 08:13:37 +1100
commit23d60e1d686ae4a94c94db4989f1f1071b3d920a (patch)
tree57319a58fabd6a893745f08602a60d774d3c58d0 /win32
parentdea75986e133ed9e54cb67ec0a87c80b7867b5c4 (diff)
downloadscintilla-mirror-23d60e1d686ae4a94c94db4989f1f1071b3d920a.tar.gz
Backport: Bug [#1993]. Fix building on Mingw/MSYS to perform file copies and deletions.
Backport of changeset 6457:26e7749ba67a.
Diffstat (limited to 'win32')
-rw-r--r--win32/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile
index 62f5931ae..dcbd3ad2a 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -18,7 +18,7 @@ endif
.SUFFIXES: .cxx
ifeq ($(OS),Windows_NT)
-DEL = del /q
+DEL = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q)
else
DEL = rm -f
endif