summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-11-13 12:07:40 +0100
committerJonas <dr@jones.dk>2013-11-13 12:07:40 +0100
commit440736f20a92a47773ab07ae62ca285c0ebfddf6 (patch)
treea5275271d2eb7f18a166b3124bca7e028b2e6541
parent376276c470dd54d6ebe0f0c6d0aeaff6b9a23614 (diff)
Fix resolve baseurl.
-rwxr-xr-xlocalikiblogcreate2
1 files changed, 1 insertions, 1 deletions
diff --git a/localikiblogcreate b/localikiblogcreate
index 01ca843..22e8684 100755
--- a/localikiblogcreate
+++ b/localikiblogcreate
@@ -21,7 +21,7 @@ LOCALCONFIG=/etc/local/ikiblog.conf
gitdir="$BLOGGITDIR"
workdir="$BLOGWORKDIR"
webdir="$BLOGWORKDIR"
-baseurl="${1:BLOGHOST://$BLOGHOST/~$USER}"
+baseurl="$BLOGPROTO://$BLOGHOST/~$USER"
# clone/create public repositories
mkdir -p $gitdir