Skip to content

Commit 4100ac5

Browse files
committed
Fixed recipe hook for window when path contains space
Signed-off-by: Frederic Pillon <[email protected]>
1 parent acb82a5 commit 4100ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ build.opt.sourcepath={build.source.path}/{build.opt.name}
8484
build.opt.path={build.path}/sketch/{build.opt.name}
8585

8686
# Create empty {build.opt} if not exists in the sketch dir
87-
recipe.hooks.prebuild.1.pattern.windows=cmd /c "if not exist {build.opt.sourcepath} mkdir {build.path}\sketch & type NUL > {build.opt.path}"
87+
recipe.hooks.prebuild.1.pattern.windows=cmd /c if not exist "{build.opt.sourcepath}" mkdir "{build.path}\sketch" & type NUL > "{build.opt.path}"
8888
recipe.hooks.prebuild.1.pattern.linux=bash -c "[ -f {build.opt.sourcepath} ] || (mkdir -p {build.path}/sketch && touch {build.opt.path})"
8989
recipe.hooks.prebuild.1.pattern.macosx=bash -c "[ -f {build.opt.sourcepath} ] || (mkdir -p {build.path}/sketch && touch {build.opt.path})"
9090

0 commit comments

Comments
 (0)