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
This commit is contained in:
Anton Kaliaev 2019-01-15 02:33:33 +04:00 committed by Ethan Buchman
parent 5f4d8e031e
commit bc00a032c1

View File

@ -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