fix(bin/linja): support files with spaces

This commit is contained in:
Gabriel Ebner 2016-10-16 09:18:10 -04:00 committed by Leonardo de Moura
parent 067484a3e5
commit a7fe8cf15c

View file

@ -463,7 +463,7 @@ def make_build_ninja(args):
print("""rule LEAN""", file=f)
print(""" depfile = ${DLEAN_FILE}""", file=f)
print(""" command = "%s" %s -o ${OLEAN_FILE} $in""" \
print(""" command = "%s" %s -o "${OLEAN_FILE}" $in""" \
% (g_lean_path, " ".join(args.lean_options)), file=f)
print("build all: phony", end=' ', file=f)