From 4860fff216892010a997547b0fa19cd4505cb804 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 1 Apr 2015 13:12:52 +0200 Subject: Do cd into $INSTDIR after all. map is right. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e188e95..434fc5a 100644 --- a/Makefile +++ b/Makefile @@ -29,12 +29,12 @@ tests-prepare: mkdir $(INSTDIR)/tests/known_roots cp tools/testcerts/roots/* $(INSTDIR)/tests/known_roots @for machine in $(MACHINES); do \ - tools/compileconfig.py --config=test/catlfish-test.cfg --localconfig test/catlfish-test-local-$$machine.cfg ; \ + (cd $(INSTDIR); ../tools/compileconfig.py --config ../test/catlfish-test.cfg --localconfig ../test/catlfish-test-local-$$machine.cfg) ; \ mkdir -p $(INSTDIR)/tests/machine/machine-$$machine/db ; \ touch $(INSTDIR)/tests/machine/machine-$$machine/db/index ; \ touch $(INSTDIR)/tests/machine/machine-$$machine/db/newentries ; \ done - tools/compileconfig.py --config test/catlfish-test.cfg --localconfig test/catlfish-test-local-signing.cfg + (cd $(INSTDIR); ../tools/compileconfig.py --config ../test/catlfish-test.cfg --localconfig ../test/catlfish-test-local-signing.cfg) mkdir $(INSTDIR)/tests/privatekeys mkdir $(INSTDIR)/tests/publickeys @for node in $(NODES); do \ -- cgit v1.1