diff options
author | Thomas Bächler <thomas@archlinux.org> | 2013-12-16 00:33:43 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2013-12-16 00:33:43 +0100 |
commit | a22a830b4706c5e15fcf4561165fd10706ca9a54 (patch) | |
tree | 8ce2803d23264bd3074e635510bd3ce0a254b2b5 | |
parent | ee04cff9d96761c77826cad41f1f22d08577e8b7 (diff) | |
download | mkinitcpio-a22a830b4706c5e15fcf4561165fd10706ca9a54.tar.gz mkinitcpio-a22a830b4706c5e15fcf4561165fd10706ca9a54.tar.xz |
Strip a leading 'v' from the git tag when generating the version numberv16
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ # Makefile for mkinitcpio -VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed 's/-/./g'; fi) +VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed 's/-/./g;s/^v//;'; fi) DIRS = \ /usr/bin \ |