Skip to content

Comments

Allow py scripts to handle spaces in paths#14876

Merged
thinkyhead merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
thinkyhead:bf2_pypaths_pr
Aug 8, 2019
Merged

Allow py scripts to handle spaces in paths#14876
thinkyhead merged 1 commit intoMarlinFirmware:bugfix-2.0.xfrom
thinkyhead:bf2_pypaths_pr

Conversation

@thinkyhead
Copy link
Member

Fix an issue where spaces in paths would break some build scripts. Solution from @jmz52 at #14697.

@zillarob
Copy link

zillarob commented Aug 11, 2019

The extra ' in the encrypter part seems to prevent it from outputting the Robin.bin.

Changing:
env.AddPostAction('"$BUILD_DIR/${PROGNAME}.bin"', encrypt);
To:
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", encrypt);
Got it to work again for me for Robin Nano.

@tpruvot
Copy link
Contributor

tpruvot commented Aug 11, 2019

the whole commit may need a revert if its the case... indeed as i use the stflash directly, i commented alfawise one locally (the .py script)

tpruvot added a commit to tpruvot/Marlin that referenced this pull request Aug 11, 2019
@tpruvot
Copy link
Contributor

tpruvot commented Aug 11, 2019

ok, made the PR #14926 for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants