* [PATCH] Add semicolon to curly brace group in main Makefile
@ 2009-04-27 2:36 Mark Drago
2009-04-27 6:21 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Mark Drago @ 2009-04-27 2:36 UTC (permalink / raw)
To: git, gitster; +Cc: Mark Drago
This semicolon is technically required by bash and indeed caused a syntax error
on a system that I came across running, an admittedly very old, bash-2.04.0.
http://www.gnu.org/software/bash/manual/bashref.html#Command-Grouping
Signed-off-by: Mark Drago <markdrago@gmail.com>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 5c8e83a..f006d2c 100644
--- a/Makefile
+++ b/Makefile
@@ -1557,7 +1557,7 @@ endif
ln "$$execdir/git-add$X" "$$execdir/$$p" 2>/dev/null || \
ln -s "git-add$X" "$$execdir/$$p" 2>/dev/null || \
cp "$$execdir/git-add$X" "$$execdir/$$p" || exit; \
- done } && \
+ done; } && \
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
install-doc:
--
1.5.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add semicolon to curly brace group in main Makefile
2009-04-27 2:36 [PATCH] Add semicolon to curly brace group in main Makefile Mark Drago
@ 2009-04-27 6:21 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2009-04-27 6:21 UTC (permalink / raw)
To: Mark Drago; +Cc: git, gitster
Mark Drago <markdrago@gmail.com> writes:
> This semicolon is technically required by bash and indeed caused a syntax error
> on a system that I came across running, an admittedly very old, bash-2.04.0.
>
> http://www.gnu.org/software/bash/manual/bashref.html#Command-Grouping
>
> Signed-off-by: Mark Drago <markdrago@gmail.com>
Thanks; it is not specific to bash. At the end of compound_list before
the Rbrace at the end of brace_group, a separator is required.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-27 6:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27 2:36 [PATCH] Add semicolon to curly brace group in main Makefile Mark Drago
2009-04-27 6:21 ` Junio C Hamano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.