summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a9930e3)
raw | patch | inline | side by side (parent: a9930e3)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 29 May 2011 11:00:35 +0000 (11:00 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 May 2011 08:08:32 +0000 (01:08 -0700) |
Change the documentation for the git-sh-i18n--envsubst program to
include a SYNOPSIS section. Include the invocation of the program from
git-sh-i18n.sh.
Not having a SYNOPSIS section caused the "doc" target to fail on
Centos 5.5 with asciidoc 8.2.5, while building with 8.6.4 on Debian
works just fine.
The relevant error was:
ERROR: git-sh-i18n--envsubst.txt: line 9: second section must be named SYNOPSIS
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
include a SYNOPSIS section. Include the invocation of the program from
git-sh-i18n.sh.
Not having a SYNOPSIS section caused the "doc" target to fail on
Centos 5.5 with asciidoc 8.2.5, while building with 8.6.4 on Debian
works just fine.
The relevant error was:
ERROR: git-sh-i18n--envsubst.txt: line 9: second section must be named SYNOPSIS
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-sh-i18n--envsubst.txt | patch | blob | history |
index f5bbf7750db6f907d6f6d3b873154d7e098ef062..61e4c08dacf796853284ee03c3ccdbebddb51a9b 100644 (file)
----
git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
+SYNOPSIS
+--------
+[verse]
+eval_gettext () {
+ printf "%s" "$1" | (
+ export PATH $('git sh-i18n--envsubst' --variables "$1");
+ 'git sh-i18n--envsubst' "$1"
+ )
+}
+
DESCRIPTION
-----------