From bc00a032c17ba5c0f4a138d0da98b50e36acaa5e Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Tue, 15 Jan 2019 02:33:33 +0400 Subject: [PATCH] makefile: fix build-docker-localnode target (#3122) cd does not work because it's executed in a subprocess so it has to be either chained by && or ; See https://stackoverflow.com/q/1789594/820520 for more details. Fixes #3058 --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d0f8c4393..1250fccb9 100644 --- a/Makefile +++ b/Makefile @@ -292,9 +292,7 @@ build-linux: GOOS=linux GOARCH=amd64 $(MAKE) build build-docker-localnode: - cd networks/local - make - cd - + @cd networks/local && make # Run a 4-node testnet locally localnet-start: localnet-stop