]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Makefile: Fix check for current git tag. master
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jan 2012 19:52:41 +0000 (20:52 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jan 2012 19:52:41 +0000 (20:52 +0100)
Makefile

index aaab2dac77f5f94df479550a7b9768127d8fc596..bb485530bc823e217ef3cbd5f26fd7e9f9e8bb19 100644 (file)
--- 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)
 
 ########################################
 #