squid/squid-fix-pod2man-check.patch

25 lines
872 B
Diff

Index: helpers/basic_auth/DB/config.test
===================================================================
--- helpers/basic_auth/DB/config.test.orig
+++ helpers/basic_auth/DB/config.test
@@ -2,6 +2,6 @@
## Test: do we have perl to build the helper scripts?
## Test: do we have pod2man to build the manual?
-perl --version >/dev/null && echo | pod2man >/dev/null
+perl --version >/dev/null && pod2man --help >/dev/null
exit $?
Index: helpers/log_daemon/DB/config.test
===================================================================
--- helpers/log_daemon/DB/config.test.orig
+++ helpers/log_daemon/DB/config.test
@@ -2,6 +2,6 @@
## Test: do we have perl to build the helper scripts?
## Test: do we have pod2man to build the manual?
-perl --version >/dev/null && echo | pod2man >/dev/null
+perl --version >/dev/null && pod2man --help >/dev/null
exit $?