Subject: [PATCH 2/5] Fix about-formatting.sh
Date: Wed, 11 Sep 2013 20:10:11 +0200 [thread overview]
Message-ID: <1378923014-902-3-git-send-email-p.janouch@gmail.com> (raw)
In-Reply-To: <1378923014-902-1-git-send-email-p.janouch@gmail.com>
dash failed to parse the script.
Signed-off-by: P?emysl Janouch <p.janouch at gmail.com>
---
filters/about-formatting.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/filters/about-formatting.sh b/filters/about-formatting.sh
index 313a4e6..892fbeb 100755
--- a/filters/about-formatting.sh
+++ b/filters/about-formatting.sh
@@ -18,7 +18,7 @@
# CGIT_REPO_CLONE_URL ( = repo.clone-url setting )
cd "$(dirname $0)/html-converters/"
-case "$(tr '[:upper:]' '[:lower:]' <<<"$1")" in
+case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in
*.md|*.mkd) exec ./md2html; ;;
*.rst) exec ./rst2html; ;;
*.[1-9]) exec ./man2html; ;;
--
1.7.10.4
next prev parent reply other threads:[~2013-09-11 18:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 18:10 [PATCH 0/5] Miscellaneous fixes
2013-09-11 18:10 ` [PATCH 1/5] Fix some spelling errors
2014-01-08 15:46 ` Jason
2013-09-11 18:10 ` [this message]
2014-01-08 15:47 ` [PATCH 2/5] Fix about-formatting.sh Jason
2013-09-11 18:10 ` [PATCH 3/5] Fix UTF-8 with syntax-highlighting.py
2013-09-13 6:14 `
2014-01-08 15:49 ` Jason
2013-09-11 18:10 ` [PATCH 4/5] Fix the example configuration
2014-01-08 15:47 ` Jason
2013-09-11 18:10 ` [PATCH 5/5] Add a suggestion to the manpage
2014-01-08 15:48 ` Jason
2013-10-08 14:06 [PATCH 2/5] Fix about-formatting.sh martinerikwerner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1378923014-902-3-git-send-email-p.janouch@gmail.com \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).