Skip to content

Commit 8b15193

Browse files
author
Shukui Yang
committed
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 <[email protected]>
1 parent 37f1747 commit 8b15193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RELEASE_DIR := $(CURDIR)/release
2626

2727
VERSION := ${shell cat ./VERSION}
2828

29-
SHELL ?= $(shell command -v bash 2>/dev/null)
29+
SHELL := $(shell command -v bash 2>/dev/null)
3030

3131
all: $(RUNC_LINK)
3232
go build -i -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -tags "$(BUILDTAGS)" -o runc .

0 commit comments

Comments
 (0)