Fix make release error:
/bin/sh: 1: Syntax error: "(" unexpected make: *** [release] Error 2 -SHELL ?= $(shell command -v bash 2>/dev/null) +SHELL := $(shell command -v bash 2>/dev/null) Signed-off-by: Shukui Yang <yangshukui@huawei.com>
This commit is contained in:
parent
37f1747aec
commit
8b151933ed
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ RELEASE_DIR := $(CURDIR)/release
|
|||
|
||||
VERSION := ${shell cat ./VERSION}
|
||||
|
||||
SHELL ?= $(shell command -v bash 2>/dev/null)
|
||||
SHELL := $(shell command -v bash 2>/dev/null)
|
||||
|
||||
all: $(RUNC_LINK)
|
||||
go build -i -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -tags "$(BUILDTAGS)" -o runc .
|
||||
|
|
Loading…
Reference in New Issue