diff --git a/Makefile b/Makefile index 14d0fc2e4..d73cf64b0 100644 --- a/Makefile +++ b/Makefile @@ -359,7 +359,7 @@ update-mocks/%: % head -n $$START $< > $$BASE.new; \ (cat $$BASE.new; tail -n +$$END $<) > $$BASE.test.c; \ if ! $(CC) $(CFLAGS) $$BASE.test.c -o $$BASE.out $(HELPER_OBJS) $(CCAN_OBJS) $(LDLIBS) 2>$$BASE.err; then \ - daemon/test/scripts/mockup.sh < $$BASE.err >> $$BASE.new; \ + test/scripts/mockup.sh < $$BASE.err >> $$BASE.new; \ sed -n 's,.*Generated stub for \(.*\) .*,\t\1,p' < $$BASE.new; \ fi; \ tail -n +$$END $< >> $$BASE.new; mv $$BASE.new $<; \ diff --git a/daemon/test/scripts/mockup.sh b/test/scripts/mockup.sh similarity index 100% rename from daemon/test/scripts/mockup.sh rename to test/scripts/mockup.sh