]> git.ipfire.org Git - people/stevee/selinux-policy.git/blobdiff - Makefile
Makefile: Fix check for current git tag.
[people/stevee/selinux-policy.git] / 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)
 
 ########################################
 #