From 91c622ab3937e0776de3bb5d4de13633a41f324e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 8 Apr 2013 11:31:24 -0700 Subject: [PATCH] simplify PATCHLEVEL assignment --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc6209463..ac2d83d76 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ VERSIONFILE=VERSION VERSION:=$(shell cat $(VERSIONFILE)) # the number of commits since the last tag -PATCHLEVEL:=$(shell expr `git describe --long | awk -F - '{print $$2}' `) +PATCHLEVEL:=$(shell git describe --long | awk -F - '{print $$2}') # the number of commits since the last_release tag #PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)