summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-06-01 17:41:28 -0700
committerWayne Davison <wayne@opencoder.net>2022-06-01 17:41:28 -0700
commit6f35553372f262b8024918677645cafd649162e0 (patch)
tree77a8d54fc530531a16d1cb07ec976d35692085d1 /configure.ac
parent71090b7e2caefb5894c10b02d34e2c57e4de848b (diff)
downloadrsync-6f35553372f262b8024918677645cafd649162e0.tar.gz
Fix grabbing version value in configure.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])