From 5035501037fe3cf8c56edd31161ea26066c08fdf Mon Sep 17 00:00:00 2001 From: Philip Sequeira Date: Sun, 29 Mar 2015 23:20:00 -0400 Subject: build: fix building with spaces in path --- waftools/generators/sources.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'waftools') diff --git a/waftools/generators/sources.py b/waftools/generators/sources.py index 25b08e78a0..6f1521036a 100644 --- a/waftools/generators/sources.py +++ b/waftools/generators/sources.py @@ -2,15 +2,15 @@ from waflib.Build import BuildContext import os def __file2string_cmd__(ctx): - return "${{BIN_PERL}} {0}/TOOLS/file2string.pl ${{SRC}} > ${{TGT}}" \ + return '"${{BIN_PERL}}" "{0}/TOOLS/file2string.pl" "${{SRC}}" > "${{TGT}}"' \ .format(ctx.srcnode.abspath()) def __matroska_cmd__(ctx, argument): - return "${{BIN_PERL}} {0}/TOOLS/matroska.pl {1} ${{SRC}} > ${{TGT}}" \ + return '"${{BIN_PERL}}" "{0}/TOOLS/matroska.pl" "{1}" "${{SRC}}" > "${{TGT}}"' \ .format(ctx.srcnode.abspath(), argument) def __zshcomp_cmd__(ctx, argument): - return "${{BIN_PERL}} {0}/TOOLS/zsh.pl {1} > ${{TGT}}" \ + return '"${{BIN_PERL}}" "{0}/TOOLS/zsh.pl" "{1}" > "${{TGT}}"' \ .format(ctx.srcnode.abspath(), argument) def __file2string__(ctx, **kwargs): -- cgit v1.2.3