diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/d2c/d2c.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/d2c/d2c.mk b/tools/d2c/d2c.mk index d0a4698..dbc9b83 100644 --- a/tools/d2c/d2c.mk +++ b/tools/d2c/d2c.mk @@ -35,14 +35,14 @@ d2c_final_rules: fix_includes_in_c_templates fix_includes_in_h_templates untabif fix_includes_in_c_templates: @for f in `find .gen/ -name '*tmpl.c'`; do \ if grep -q '##INCLUDES##' $$f; then \ - $(fix_verbose)sed -i 's/##INCLUDES##/$(FIXED_C_INCLUDES)/' $$f; \ + $(fix_verbose)sed -i 's@##INCLUDES##@$(FIXED_C_INCLUDES)@' $$f; \ fi; \ done fix_includes_in_h_templates: @for f in `find .gen/ -name '*tmpl.h'`; do \ if grep -q '##INCLUDES##' $$f; then \ - $(fix_verbose)sed -i 's/##INCLUDES##/$(FIXED_H_INCLUDES)/' $$f ; \ + $(fix_verbose)sed -i 's@##INCLUDES##@$(FIXED_H_INCLUDES)@' $$f ; \ fi; \ done |