build: fix RELEASE check
authorRod Vagg <rod@vagg.org>
Tue, 14 Apr 2015 12:22:23 +0000 (22:22 +1000)
committerRod Vagg <rod@vagg.org>
Tue, 14 Apr 2015 12:53:35 +0000 (22:53 +1000)
fixes broken 1.7.0 build, unreviewed quick patch

Ref: https://github.com/iojs/io.js/pull/1405
PR-URL: https://github.com/iojs/io.js/pull/1421

Makefile

index e93e817ffe04547d00fe40785edfd3abf877266a..141cee2a93544186fea039039ff853a5200fb2fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -197,7 +197,7 @@ docclean:
 RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
 VERSION=v$(RAWVER)
 FULLVERSION=$(VERSION)
-RELEASE=($shell sed -ne 's/#define NODE_VERSION_IS_RELEASE \([01]\)/\1/p' src/node_version.h)
+RELEASE=$(shell sed -ne 's/\#define NODE_VERSION_IS_RELEASE \([01]\)/\1/p' src/node_version.h)
 PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]')
 NPMVERSION=v$(shell cat deps/npm/package.json | grep '"version"' | sed 's/^[^:]*: "\([^"]*\)",.*/\1/')
 ifeq ($(findstring x86_64,$(shell uname -m)),x86_64)