Browse Source

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
pull/3123/head
Anton Kaliaev 6 years ago
committed by Ethan Buchman
parent
commit
bc00a032c1
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Makefile

+ 1
- 3
Makefile View File

@ -292,9 +292,7 @@ build-linux:
GOOS=linux GOARCH=amd64 $(MAKE) build GOOS=linux GOARCH=amd64 $(MAKE) build
build-docker-localnode: build-docker-localnode:
cd networks/local
make
cd -
@cd networks/local && make
# Run a 4-node testnet locally # Run a 4-node testnet locally
localnet-start: localnet-stop localnet-start: localnet-stop


Loading…
Cancel
Save