From 564eb3389bd226c16e3f3f4e6f0873f9a24489fb Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 27 Oct 2014 21:45:43 -0400 Subject: [PATCH] ENH: fail early in generate-man + provide PYTHONPATH upstairs --- man/generate-man | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/generate-man b/man/generate-man index 0907e738..f18c3604 100755 --- a/man/generate-man +++ b/man/generate-man @@ -1,5 +1,9 @@ #!/bin/bash +set -eu + +export PYTHONPATH=.. + # fail2ban-client echo -n "Generating fail2ban-client " help2man --section=1 --no-info --include=fail2ban-client.h2m --output fail2ban-client.1 ../bin/fail2ban-client