Skip to content

Commit

Permalink
Fix issue when build environment contains spaces (#6119)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets authored and earlephilhower committed May 20, 2019
1 parent 912c0db commit 68ee121
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/platformio-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ def scons_patched_match_splitext(path, suffixes=None):
ElfToBin=Builder(
action=env.VerboseAction(" ".join([
'"$PYTHONEXE"',
'"%s"' % env.subst(join(FRAMEWORK_DIR, "tools", "elf2bin.py")),
"--eboot", '"%s"' % env.subst(join(
FRAMEWORK_DIR, "bootloaders", "eboot", "eboot.elf")),
"--app", '"%s"' % "$SOURCE",
'"%s"' % join(FRAMEWORK_DIR, "tools", "elf2bin.py"),
"--eboot", '"%s"' % join(
FRAMEWORK_DIR, "bootloaders", "eboot", "eboot.elf"),
"--app", "$SOURCE",
"--flash_mode", "$BOARD_FLASH_MODE",
"--flash_freq", "${__get_board_f_flash(__env__)}",
"--flash_size", "${__get_flash_size(__env__)}",
"--path", '"%s"' % env.subst(join(
platform.get_package_dir("toolchain-xtensa"), "bin")),
"--out", '"$TARGET"'
"--path", '"%s"' % join(
platform.get_package_dir("toolchain-xtensa"), "bin"),
"--out", "$TARGET"
]), "Building $TARGET"),
suffix=".bin"
)
Expand Down

0 comments on commit 68ee121

Please sign in to comment.