doc: Fix xref translation macro.
authorLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2020 22:19:26 +0000 (23:19 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2020 23:40:24 +0000 (00:40 +0100)
commitaa7edc9449a7cf796892f5a0369295a95ddbbcf8
tree0a7d7a35bb088b3d24b2abf1bb73652b4519a495
parent02c3c51e0c46ea70de8e973993586c943acc1714
doc: Fix xref translation macro.

* doc/local.mk (xref_command): Wrap loop body in 'if [ -n "$$e" ]'.
This avoids shell syntax errors when producing
doc/guix-cookbook.de.texi, which for some reason gets an empty 'e' at
one point.  Quote the first argument to 'head'.
doc/local.mk