From 125b49bf24883585d6826b8d72e14ccdfae41206 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 29 Dec 2013 21:36:06 +0200 Subject: Fix spaces in paths on Windows also --- tests/site_scons/site_tools/nanopb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/site_scons/site_tools') diff --git a/tests/site_scons/site_tools/nanopb.py b/tests/site_scons/site_tools/nanopb.py index 97837666..9197e190 100644 --- a/tests/site_scons/site_tools/nanopb.py +++ b/tests/site_scons/site_tools/nanopb.py @@ -58,7 +58,7 @@ def _detect_protoc(env): return env['PROTOC'] p = _detect_nanopb(env) - p1 = os.path.join(p, 'generator-bin', 'protoc') + p1 = os.path.join(p, 'generator-bin', 'protoc' + env['PROGSUFFIX']) if os.path.exists(p1): # Use protoc bundled with binary package return env['ESCAPE'](p1) -- cgit 1.2.3-korg