@matheusbsbs / matheus-bagliano / commits / 337ceeabe1
Fork 0

typofix in dodoc script.

Junio C Hamano committed Jan 7, 2006 at 22:18 UTC 337ceeabe13ee55d80dab89799cb0b0af2e17bb0
1 file changed +6 -6
dodoc.sh
+6 -6
@@ -1,7 +1,7 @@
1 #!/bin/sh
2 #
3 # This script is called from the post-update hook, and when
4 -# the master branch is updated, run in $HOME/doc-git, like
4 +# the master branch is updated, run in $HOME/git-doc, like
5 # this:
6 : <<\END_OF_COMMENTARY
7
@@ -17,7 +17,7 @@ $ chmod +x hooks/post-update
17
18 END_OF_COMMENTARY
19
20 -# $HOME/doc-git is a clone of the git.git repository and
20 +# $HOME/git-doc is a clone of the git.git repository and
21 # has the master branch checkd out. We update the working
22 # tree and build pre-formatted documentation pages, install
23 # in doc-htmlpages and doc-manapges subdirectory here.
@@ -44,9 +44,9 @@ test -d doc-htmlpages || (
44 cd doc-htmlpages &&
45 git init-db || exit $?
46
47 - if ID=$(git fetch-pack "$MASTERREPO" html)
47 + if SID=$(git fetch-pack "$MASTERREPO" html)
48 then
49 - git update-ref HEAD `expr "$ID" : '\(.*\) .*'` &&
49 + git update-ref HEAD `expr "$SID" : '\(.*\) .*'` &&
50 git checkout || exit $?
51 fi
52 )
@@ -55,9 +55,9 @@ test -d doc-manpages || (
55 cd doc-manpages &&
56 git init-db || exit $?
57
58 - if ID=$(git fetch-pack "$MASTERREPO" man)
58 + if SID=$(git fetch-pack "$MASTERREPO" man)
59 then
60 - git update-ref HEAD `expr "$ID" : '\(.*\) .*'` &&
60 + git update-ref HEAD `expr "$SID" : '\(.*\) .*'` &&
61 git checkout || exit $?
62 fi
63 )