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 6ee85d5..76ba49c 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 "};"