From: Dennis Stosberg <dennis@stosberg.net>
To: git@vger.kernel.org
Subject: [PATCH] git-fetch: Shell syntax fix for NetBSD
Date: Sun, 28 May 2006 22:45:10 +0200 [thread overview]
Message-ID: <20060528204510.G51ab1cf8@leonov.stosberg.net> (raw)
NetBSD's default shell does not accept an opening parenthesis in
a case switch.
$ ./git-fetch
./git-fetch: 219: Syntax error: word unexpected (expecting ")")
---
With this change applied to the next branch, all tests complete
successfully on NetBSD 3.0 without having bash installed.
git-fetch.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-fetch.sh b/git-fetch.sh
index 280f62e..b8092a6 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -216,7 +216,7 @@ then
while read sha1 name
do
case "$name" in
- (*^*) continue ;;
+ *^*) continue ;;
esac
if git-check-ref-format "$name"
then
--
1.3.3.g3c38f
next reply other threads:[~2006-05-28 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-28 20:45 Dennis Stosberg [this message]
2006-05-28 21:04 ` [PATCH] git-fetch: Shell syntax fix for NetBSD Junio C Hamano
2006-05-28 21:28 ` Dennis Stosberg
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=20060528204510.G51ab1cf8@leonov.stosberg.net \
--to=dennis@stosberg.net \
--cc=git@vger.kernel.org \
/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).