Skip to content

Commit e144d83

Browse files
committed
Fixed Windows path issue in recipe hook
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 4ac494c commit e144d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ build.opt.sourcepath={build.source.path}/{build.opt.name}
8383
build.opt.path={build.path}/sketch/{build.opt.name}
8484

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

0 commit comments

Comments
 (0)