From d3d2c7dfdd23d7d9a86b2c52b09ffaaa23a67489 Mon Sep 17 00:00:00 2001 From: flameeyes Date: Mon, 30 Oct 2006 12:21:41 +0000 Subject: [PATCH] Use cut rather than sed for removing the micro version. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1ac70fcf..4869ee74 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ define(RELEASE_NUM, 78.1) define(CDIO_VERSION_STR, 0.$1) AC_PREREQ(2.52) -AC_REVISION([$Id: configure.ac,v 1.199 2006/10/29 05:11:08 rocky Exp $])dnl +AC_REVISION([$Id: configure.ac,v 1.200 2006/10/30 12:21:41 flameeyes Exp $])dnl AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM)) AC_CONFIG_SRCDIR(src/cd-info.c) @@ -32,7 +32,7 @@ AM_INIT_AUTOMAKE([1.7]) AC_CANONICAL_HOST AM_CONFIG_HEADER(config.h) -LIBCDIO_VERSION_NUM=`echo RELEASE_NUM | sed -e 's/\..*//'` +LIBCDIO_VERSION_NUM=`echo RELEASE_NUM | cut -d . -f 1'` AC_SUBST(LIBCDIO_VERSION_NUM) AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)