summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-03 19:01:19 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-03 19:01:19 +0000
commit356742608f421f06fe78062e8075ba1dbda374f9 (patch)
treee38c1267ee9ea8ce3e7c5ad8bb9a130f857ebb96
parent5118b911cc44880a44b0fae936fa9872373dbd7c (diff)
web commit by http://madduck.myopenid.com/: further simplification by using $GIT_DIR
-rw-r--r--doc/setup.mdwn4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index 98806b583..e49d92d77 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -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