Skip to content
Snippets Groups Projects
Commit 0257c0d9 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

build: fixed a build cmp warning

parent e1cb1475
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ $(SKETCHCPP): showflags $(SKETCHCPP_SRC)
$(v)echo "#line 1 \"autogenerated\"" >> $@.new
$(v)$(AWK) '$(SKETCH_PROTOTYPER)' $(SKETCHCPP_SRC) >> $@.new
$(v)$(AWK) -v mode=body '$(SKETCH_SPLITTER)' $(SKETCHCPP_SRC) >> $@.new
$(v)cmp $@ $@.new 2>/dev/null || mv $@.new $@
$(v)cmp $@ $@.new > /dev/null 2>&1 || mv $@.new $@
$(v)rm -f $@.new
# delete the sketch.cpp file if a processing error occurs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment