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:
Shukui Yang 2016-09-12 18:52:24 +08:00
parent 37f1747aec
commit 8b151933ed
1 changed files with 1 additions and 1 deletions

View File

@ -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 .