From 7414b0af19416bf43eb8ae67e35a90ee08cdf05a Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 24 Nov 2015 19:46:46 +0100 Subject: [PATCH] Remove the 'v' prefix from the version string --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 584540fd..0b472fa7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) dnl Get version number from git -m4_define([git_revision], m4_esyscmd_s([git describe])) +m4_define([git_revision], m4_esyscmd_s([git describe --match 'v*' | sed 's/^v//'])) AC_INIT([snapraid], [git_revision], [], [], [http://www.snapraid.it]) AM_INIT_AUTOMAKE([foreign no-dependencies subdir-objects]) AC_CONFIG_SRCDIR([cmdline/snapraid.c])