mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +01:00
Windows: ":" is an illegal char for a file name. Fixes #4026
This commit is contained in:
parent
0102a58122
commit
d8d70ee0bd
@ -355,6 +355,7 @@ public class Compiler implements MessageConsumer {
|
|||||||
try {
|
try {
|
||||||
compiledSketch = StringReplacer.replaceFromMapping(compiledSketch, prefs);
|
compiledSketch = StringReplacer.replaceFromMapping(compiledSketch, prefs);
|
||||||
copyOfCompiledSketch = StringReplacer.replaceFromMapping(copyOfCompiledSketch, prefs);
|
copyOfCompiledSketch = StringReplacer.replaceFromMapping(copyOfCompiledSketch, prefs);
|
||||||
|
copyOfCompiledSketch = copyOfCompiledSketch.replaceAll(":", "_");
|
||||||
|
|
||||||
Path compiledSketchPath;
|
Path compiledSketchPath;
|
||||||
Path compiledSketchPathInSubfolder = Paths.get(prefs.get("build.path"), "sketch", compiledSketch);
|
Path compiledSketchPathInSubfolder = Paths.get(prefs.get("build.path"), "sketch", compiledSketch);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user