[PATCH libnetfilter_queue] build: doc: Fix silly error in test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
---
 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
--
2.46.3





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux