Bug#841707: eximdoc4: FTBFS with bash as /bin/sh
Chris Lamb
lamby at debian.org
Sat Oct 22 14:16:19 UTC 2016
tags 841707 + patch
thanks
Patch attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index d56c09a..28ec688 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,11 +26,11 @@ override_dh_auto_build:
--filter $(CURDIR)/build-tree/filter.xml \
--latest $(EXIM_VER) --tmpl $(CURDIR)/website/templates \
--docroot $(CURDIR)/build-tree/html
- cd build-tree/html/exim-html-*/doc/html/spec_html/ && \
+ cd build-tree/html/exim-html-4*/doc/html/spec_html/ && \
find -name 'ch??.html' -or -name 'filter_ch??.html' | \
while read i ; do s=`readlink "$$i" | sed -e 's:.*/::'` ; \
rm "$$i" ; ln -vs "$$s" "$$i" ; done
- find build-tree/html/exim-html-*/doc/html/spec_html/ -type f \
+ find build-tree/html/exim-html-4*/doc/html/spec_html/ -type f \
-name '*.html' -print0 | xargs -r0 \
sed -i -e 's:href="[^"]*/\([^"]*\.css"\):href="\1:g' \
-e 's:img src="\.[^"]*/\([^"]*\.png\):img src="\1:g'
More information about the Pkg-exim4-maintainers
mailing list