Caution if lotus is installed

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2019-12-11 14:55:03 +01:00
parent 5f4127859e
commit 38cb0164eb
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -1,3 +1,5 @@
SHELL=/usr/bin/env bash
all: build all: build
.PHONY: all .PHONY: all
@ -76,7 +78,14 @@ lotus-shed: $(BUILD_DEPS)
.PHONY: lotus-seal-worker .PHONY: lotus-seal-worker
BINS+=lotus-seal-worker BINS+=lotus-seal-worker
ccred:=$(shell tput setaf 1)
ccbold=$(shell tput bold)
ccend=$(shell tput sgr0)
build: lotus lotus-storage-miner lotus-seal-worker build: lotus lotus-storage-miner lotus-seal-worker
@[[ $$(type -P "cat") ]] && echo "$(ccred)$(ccbold)Caution$(ccend): you have \
an existing lotus binary in your PATH. This may cause problems if you don't run 'sudo make install'"
.PHONY: build .PHONY: build
install: install: