From d9bca18478ac1aea510a01486c47a52c9c549fee Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Tue, 20 Feb 2024 11:13:12 +0100 Subject: [PATCH] set GRASS_VERSION_GIT --- configure | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/configure b/configure index 14da3087589..91fc445e04a 100755 --- a/configure +++ b/configure @@ -5033,6 +5033,7 @@ fi if test $GRASS_VERSION_GIT == "exported" && \ test "$ac_cv_file_include_VERSION_GIT" == "yes"; then GRASS_HEADERS_GIT_HASH=$(sed -n 1p "${GRASS_VERSION_GIT_FILE}") + GRASS_VERSION_GIT=$GRASS_HEADERS_GIT_HASH GRASS_HEADERS_GIT_DATE=$(sed -n 2p "${GRASS_VERSION_GIT_FILE}") fi diff --git a/configure.ac b/configure.ac index 763b9c53064..d5c64f3c27f 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,7 @@ fi if test $GRASS_VERSION_GIT == "exported" && \ test "$ac_cv_file_include_VERSION_GIT" == "yes"; then GRASS_HEADERS_GIT_HASH=$(sed -n 1p "${GRASS_VERSION_GIT_FILE}") + GRASS_VERSION_GIT=$GRASS_HEADERS_GIT_HASH GRASS_HEADERS_GIT_DATE=$(sed -n 2p "${GRASS_VERSION_GIT_FILE}") fi