From 44e29b3c4aad3f59693a3734b365b6c8a78066fb Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Sun, 23 Aug 2020 17:43:18 -0700 Subject: [PATCH] [build] Fix dump_cc_run not creating bash scripts It was the difference between > and >> --- scripts/templates/build.ninja.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/templates/build.ninja.j2 b/scripts/templates/build.ninja.j2 index e3af2ac..a28af56 100644 --- a/scripts/templates/build.ninja.j2 +++ b/scripts/templates/build.ninja.j2 @@ -67,7 +67,7 @@ rule dump_c_run description = Dumping C arguments for $target command = $ echo "#!/bin/bash" > $out; $ - echo '$cc $ccflags $cflags $$*' > $out; $ + echo '$cc $ccflags $cflags $$*' >> $out; $ chmod a+x $out rule cpp @@ -84,7 +84,7 @@ rule dump_cpp_run description = Dumping C++ arguments for $target command = $ echo "#!/bin/bash" > $out; $ - echo '$cc $cxxflags $ccflags $$*' > $out; $ + echo '$cc $cxxflags $ccflags $$*' >> $out; $ chmod a+x $out rule s