Skip to contentSkip to conversation

build: doc: Fix silly error in test

PATCH New Duncan Roe 1 participant 1 message Mar 11, 2025 netfilter

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 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")
---
 doxygen/build_man.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doxygen/build_man.sh +1 -1
index 8fda7ee..50ab884 100755
@@ -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

--
2.46.3