mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[build] Fix dump_cc_run not creating bash scripts
It was the difference between > and >>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user