]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://madduck.myopenid.com/: further simplification by using $GIT_DIR
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 3 Oct 2007 19:01:19 +0000 (19:01 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 3 Oct 2007 19:01:19 +0000 (19:01 +0000)
doc/setup.mdwn

index 98806b583801c5f43325da2e10fd7a5dd0b9a57a..e49d92d770f5a9d4cfade49285be5ada60350c3f 100644 (file)
@@ -128,9 +128,7 @@ This tutorial will walk you through setting up a wiki with ikiwiki.
        to do the following, but this might be easiest:
 
                        REPOSITORY=~/wiki.git
-                       mkdir $REPOSITORY
-                       cd $REPOSITORY
-                       git --bare init --shared
+                       GIT_DIR=$REPOSITORY git --bare init --shared
                        cd $SRCDIR
                        git init
                        echo /.ikiwiki > .gitignore