summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2025-03-11 13:28:49 +1100
committerFlorian Westphal <fw@strlen.de>2025-03-11 06:44:04 +0100
commit512cd12f9e7943becbd8e9807037ab221e3ed1c2 (patch)
tree13c3b5401179985aea3bde90ac140579f7ebfa5b
parent60aa4279fabfbb10b15b99037d39bf34b4879f3d (diff)
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 <duncan_roe@optusnet.com.au> Signed-off-by: Florian Westphal <fw@strlen.de>
-rwxr-xr-xdoxygen/build_man.sh2
1 files changed, 1 insertions, 1 deletions
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