Add missing semicolon to sed command.
authorShawn Pearce <spearce@spearce.org>
Mon, 20 Mar 2006 00:18:08 +0000 (19:18 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 20 Mar 2006 00:38:24 +0000 (16:38 -0800)
generate-cmdlist.sh is giving errors messages from sed on Mac OS
10.4 due to a missing semicolon.

Signed-off-by: Junio C Hamano <junkio@cox.net>
generate-cmdlist.sh

index 6ee85d5a5316d21c930bb31ba8fac4c651253ac0..76ba49c88c9ed28c737eace854dec1141f9f60ee 100755 (executable)
@@ -42,7 +42,7 @@ EOF
 while read cmd
 do
     sed -n "/NAME/,/git-$cmd/H;
-           \$ {x; s/.*git-$cmd - \\(.*\\)/  {\"$cmd\", \"\1\"},/; p}" \
+           \$ {x; s/.*git-$cmd - \\(.*\\)/  {\"$cmd\", \"\1\"},/; p;}" \
        "Documentation/git-$cmd.txt"
 done
 echo "};"