diff options
author | Wayne Davison <wayne@opencoder.net> | 2022-06-01 17:41:28 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2022-06-01 17:41:28 -0700 |
commit | 6f35553372f262b8024918677645cafd649162e0 (patch) | |
tree | 77a8d54fc530531a16d1cb07ec976d35692085d1 /configure.ac | |
parent | 71090b7e2caefb5894c10b02d34e2c57e4de848b (diff) | |
download | rsync-6f35553372f262b8024918677645cafd649162e0.tar.gz |
Fix grabbing version value in configure.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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]) |