From 6b3758779125d6cb80863f5488c0bd9a02c813ec Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 17 Dec 2018 01:02:51 +0100 Subject: [PATCH] tools/tarsource.sh: keep version info on non-git extraver won't have any useful value on a non-git run. Signed-off-by: David Lamparter --- tools/tarsource.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tarsource.sh b/tools/tarsource.sh index 8ec3346c35..110558da0d 100755 --- a/tools/tarsource.sh +++ b/tools/tarsource.sh @@ -246,6 +246,9 @@ echo -e "\033[33;1mpreparing source tree\033[m" if test -f config.version; then # never executed for clean git build . ./config.version + if $nongit; then + $extraset || extraver="$EXTRAVERSION" + fi fi if test \! -f configure; then # always executed for clean git build -- 2.39.5