summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-02-13 17:16:18 +0000
committerJonas Smedegaard <dr@jones.dk>2008-02-13 17:16:18 +0000
commit6956e9672223ba9383950cedac5729d13cafa33e (patch)
tree1ae7931dcc7d5346705282b1e16c138be9249936
parent267f72f3e677d5d71c8f2b2f57423d8c942192d3 (diff)
Use project (not host) as base workingdir name.
-rwxr-xr-xlocalikiwikicreatesite6
1 files changed, 3 insertions, 3 deletions
diff --git a/localikiwikicreatesite b/localikiwikicreatesite
index 8f3052c..42cfb27 100755
--- a/localikiwikicreatesite
+++ b/localikiwikicreatesite
@@ -3,7 +3,7 @@
# /usr/local/bin/localikiwikicreatesite
# Copyright 2008 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localikiwikicreatesite,v 1.15 2008-02-13 17:13:59 jonas Exp $
+# $Id: localikiwikicreatesite,v 1.16 2008-02-13 17:16:18 jonas Exp $
#
# Initialize ikiwiki site
#
@@ -108,8 +108,8 @@ if echo "$srchost" | grep -qv '\.'; then
srchost="$srchost.$srcdomain"
fi
-SRCDIR=~/private_webdata/$host/content
-CFGDIR=~/private_webdata/$host
+SRCDIR=~/private_webdata/$project/content
+CFGDIR=~/private_webdata/$project
DESTDIR=~/public_websites/$host
DESTSRCDIR=~/public_websites/$srchost