summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/handlers/javascript/duktape/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/Makefile b/content/handlers/javascript/duktape/Makefile
index c9e9947dd..465318002 100644
--- a/content/handlers/javascript/duktape/Makefile
+++ b/content/handlers/javascript/duktape/Makefile
@@ -12,7 +12,8 @@ BINDINGS := $(wildcard content/handlers/javascript/duktape/*.bnd)
$(OBJROOT)/duktape/generics.js.inc: content/handlers/javascript/duktape/generics.js
$(Q)$(MKDIR) -p $(OBJROOT)/duktape
$(VQ)echo " XXD: $<"
- $(Q)xxd -i $< | sed -e 's/content_handlers_javascript_duktape_generics_js/generics_js/' > $@
+ $(Q)xxd -i $< $@.tmp
+ $(Q)sed -e 's/content_handlers_javascript_duktape_generics_js/generics_js/' $@.tmp > $@
# ensure genbind generates debugging files
GBFLAGS+=-D