drone-os / drone

CLI utility for Drone, an Embedded Operating System.
https://www.drone-os.com/
Apache License 2.0
165 stars 20 forks source link

Fix quoting in 'name' in Justfile template #16

Closed WizardUli closed 3 years ago

WizardUli commented 4 years ago

Commands like just flash do not work in generated projects when there is a whitespace in the path to the project.

For example when using --probe openocd ~/Projects/Rust experiments/hello_world $ just flash produces following error: invalid subcommand "write_image erase target/thumbv7em-none-eabihf/release/Rust 0" due to the name in Justfile being incorrectly determined to be Rust.

There have to be double quotes around $(pwd).

valff commented 3 years ago

Thanks!