summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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