Quote paths so build scripts work when directories have space in their name.

Currently if you clone Marlin to a directory with a space in the name, Arduino will generate an error.
Because when executed the path ends up split into two separate arguments.
This commit is contained in:
Daniel Friesen
2015-06-03 15:55:38 -07:00
committed by Richard Wackerbarth
parent bdf778bec2
commit 54375cc7a4
2 changed files with 15 additions and 15 deletions

View File

@ -1,2 +1,2 @@
compiler.cpp.extra_flags=-DHAS_AUTOMATIC_VERSIONING
recipe.hooks.prebuild.pattern=/usr/local/bin/generate_version_header_for_marlin {build.source.path} {build.path}/_Version.h
recipe.hooks.prebuild.pattern=/usr/local/bin/generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"