Fix string printed after compilation is done (#505)

* Fix string printed after compilation is done

On GNU coreutils 8.27, echo prints the \n occurrences as literals. This
commit changes the calls to echo containing such character to calls to
printf, and appends another \n in the end of the line.

* Fix indent
This commit is contained in:
Athos Ribeiro 2018-02-02 13:54:14 -02:00 committed by Frank Mueller
parent ecf74e2189
commit d58a06c323
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ HELP_FUN = \
statusgo: ##@build Build status-go as statusd server statusgo: ##@build Build status-go as statusd server
go build -i -o $(GOBIN)/statusd -v -tags '$(BUILD_TAGS)' $(shell build/testnet-flags.sh) ./cmd/statusd go build -i -o $(GOBIN)/statusd -v -tags '$(BUILD_TAGS)' $(shell build/testnet-flags.sh) ./cmd/statusd
@echo "\nCompilation done.\nRun \"build/bin/statusd -h\" to view available commands." @echo "Compilation done."
@echo "Run \"build/bin/statusd -h\" to view available commands."
statusgo-cross: statusgo-android statusgo-ios statusgo-cross: statusgo-android statusgo-ios
@echo "Full cross compilation done." @echo "Full cross compilation done."