]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Nov 2022 17:39:35 +0000 (11:39 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Nov 2022 17:39:35 +0000 (11:39 -0600)
Makefile

index 4dd9c459782913b0b50df6768be4ce661604dc17..adf11b88902e99dd1d6cf06c35ac1b19ac76b25d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,10 +54,8 @@ endif
 #
 #  'configure' was not run?  Get the version number from the file.
 #
-ifeq "$(RADIUS_VERSION_STRING)" ""
+ifeq "$(RADIUS_VERSION)" ""
   RADIUSD_VERSION := $(shell cat VERSION | cut -d '.' -f 1,2).$(shell (git status > /dev/null 2>&1 || (echo '0' && false)) && git describe | cut -d '-' -f 2)
-else
-  RADIUSD_VERSION := $(shell cat VERSION)
 endif
 
 MFLAGS += --no-print-directory