mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
Fix rm function on Windows.
Windows del doesn't handle paths with / as separators, need to convert them first. Change-Id: Idb3efa96167aec5666517feabab67385ebd2db1a
This commit is contained in:
parent
f3a1a33b9f
commit
82b30de20f
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ endif
|
|||
TOP := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
ifeq ($(OS),Windows_NT)
|
||||
mkdir = if not exist $(subst /,\,$(1)) mkdir $(subst /,\,$(1))
|
||||
rm = del /q /s $(1)
|
||||
rm = del /q /s $(subst /,\,$(1))
|
||||
else
|
||||
mkdir = mkdir -p $(1)
|
||||
rm = rm -rf $(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue