Caution if lotus is installed
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
5f4127859e
commit
38cb0164eb
9
Makefile
9
Makefile
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user