aboutsummaryrefslogtreecommitdiff
path: root/templates/refresh.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/refresh.sh.erb')
-rw-r--r--templates/refresh.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb
index 7e7adf6..6353822 100644
--- a/templates/refresh.sh.erb
+++ b/templates/refresh.sh.erb
@@ -7,7 +7,6 @@
NAME="$1"
OWNER="$2"
GROUP="$3"
-SITE="$BASE/$NAME"
CONF="/etc/ikiwiki"
INSTANCE="ikiwiki"
WWW_USER="<%= scope.lookupvar('ikiwiki::www_user') %>"
@@ -15,6 +14,7 @@ BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>"
REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>"
REPO_GROUP="<%= scope.lookupvar('ikiwiki::git_implementation') %>"
REPO="<%= scope.lookupvar('ikiwiki::git_folder') %>/$NAME.git"
+SITE="$BASE/$NAME"
# Syntax check
if [ -z "$INSTANCE" ]; then