From: Stefan Schantl Date: Sat, 21 Jan 2012 19:52:41 +0000 (+0100) Subject: Makefile: Fix check for current git tag. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=HEAD;p=people%2Fstevee%2Fselinux-policy.git Makefile: Fix check for current git tag. --- diff --git a/Makefile b/Makefile index aaab2dac..bb485530 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # Please see build.conf for policy build options. # # -VERSION = $(shell git tag 2>/dev/null | head -n1) +VERSION = $(shell git tag 2>/dev/null | tail -n1) ######################################## #