Skip to content

Commit 7a4d564

Browse files
committed
Escape bootloader path and fix issue with user account that contains spaces
1 parent b2589ef commit 7a4d564

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builder/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ def __fetch_spiffs_size(target, source, env):
225225
ElfToBin=Builder(
226226
action=env.VerboseAction(" ".join([
227227
'"$OBJCOPY"',
228-
"-eo", join(
229-
"$FRAMEWORK_ARDUINOESP8266_DIR", "bootloaders",
230-
"eboot", "eboot.elf"),
228+
"-eo",
229+
'"%s"' % join("$FRAMEWORK_ARDUINOESP8266_DIR",
230+
"bootloaders", "eboot", "eboot.elf"),
231231
"-bo", "$TARGET",
232232
"-bm", "$BOARD_FLASH_MODE",
233233
"-bf", "${__get_board_f_flash(__env__)}",

0 commit comments

Comments
 (0)