From: Wayne Davison Date: Thu, 2 Jun 2022 00:41:28 +0000 (-0700) Subject: Fix grabbing version value in configure. X-Git-Tag: v3.2.5pre1~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f35553372f262b8024918677645cafd649162e0;p=thirdparty%2Frsync.git Fix grabbing version value in configure. --- diff --git a/configure.ac b/configure.ac index 24e383a9..29698bc0 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_CONFIG_SRCDIR([byteorder.h]) AC_CONFIG_HEADER(config.h) AC_PREREQ([2.69]) -PACKAGE_VERSION=`sed 's/.*"\(.*\)".*/\1/' <$srcdir/version.h` +PACKAGE_VERSION=`sed -n 's/.*RSYNC_VERSION.*"\(.*\)".*/\1/p' <$srcdir/version.h` AC_MSG_NOTICE([Configuring rsync $PACKAGE_VERSION])