From 512cd12f9e7943becbd8e9807037ab221e3ed1c2 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Tue, 11 Mar 2025 13:28:49 +1100 Subject: build: doc: Fix silly error in test Without this patch, the doxygen bug workaround in the previous commit is ineffective since the test for doxygen's being a target version always fails. Fixes: 60aa4279fabf ("build: doc: Fix `fprintf` in man pages from using single quotes") Signed-off-by: Duncan Roe Signed-off-by: Florian Westphal --- doxygen/build_man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh index 8fda7ee..50ab884 100755 --- a/doxygen/build_man.sh +++ b/doxygen/build_man.sh @@ -79,7 +79,7 @@ post_process(){ fix_newlines=true || fix_newlines=false # Decide if we need to fix double-to-single-quote conversion - [ $doxymajor -eq 1 -a $doxyminor -ge 9 -a $doxyminor < 13 ] && + [ $doxymajor -eq 1 -a $doxyminor -ge 9 -a $doxyminor -lt 13 ] && fix_quotes = true || fix_quotes=false # Work through the "real" man pages -- cgit v1.2.3