Skip to content

Commit 135a62c

Browse files
committed
try with powershell commands
1 parent 28cb208 commit 135a62c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Makevars.win

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ PKG_LIBS += \
1515
all: clean winlibs
1616

1717
clean:
18-
del /Q $(OBJECTS) $(SHLIB)
19-
18+
powershell -Command "Remove-Item -Force -Recurse $(OBJECTS), $(SHLIB)"
2019

2120
winlibs:
2221
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R"
23-
rmdir /S /Q ../inst/share && mkdir ../inst/share
22+
powershell -Command "Remove-Item -Force -Recurse ../inst/share; New-Item -ItemType Directory ../inst/share"
2423

2524
.PHONY: all winlibs clean
2625

0 commit comments

Comments
 (0)