From 01062d70d1b6f56c9bf584b5e7da050a89383e05 Mon Sep 17 00:00:00 2001 From: cathugger Date: Thu, 5 May 2022 19:45:42 +0000 Subject: [PATCH] mmm right --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index dad2aae..c2c89ef 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,11 @@ then if test -z "$ver" then # otherwise obtain full commit ID - ver=git-`git -C "$srcdir" rev-parse HEAD 2>/dev/null` + ver=`git -C "$srcdir" rev-parse HEAD 2>/dev/null` + if test -n "$ver" + then + ver=git-$ver + fi fi if test -n "$ver" then