From 3c62838c380509c828819e3cf7731899a4e35da1 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Sat, 31 May 2014 22:58:40 -0700 Subject: [PATCH] fix 'make versioncheck' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3fe3545..c38a767 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ all: # Ensure all version-carrying files have the same version. .PHONY: versioncheck versioncheck: - @echo version is: $(shell cat package.json | lib/json.js version) + @echo version is: $(shell cat package.json | json version) [[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$3}'` ]] [[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F"'" '{print $$2}'` ]] [[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]]