aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author无闻 <u@gogs.io>2015-02-22 07:13:06 -0500
committer无闻 <u@gogs.io>2015-02-22 07:13:06 -0500
commitaa670ce660d7e881f8cfd8c5faad3b3e0682a78a (patch)
treedfb9c44e19caaf8706b595e198b45ad2cef02a36
parentc753fdceaf0549aa865cff4e1f42be5d907bbdb1 (diff)
parent81fcc0db0c2ae8ed84931995e505076e8227948c (diff)
Merge pull request #977 from albang/dev
$DIRECTORY variable is never set
-rw-r--r--docker/templates/init_gogs.sh.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/templates/init_gogs.sh.tpl b/docker/templates/init_gogs.sh.tpl
index 26cff4e5..ada11f95 100644
--- a/docker/templates/init_gogs.sh.tpl
+++ b/docker/templates/init_gogs.sh.tpl
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ ! -d "$DIRECTORY" ]; then
+if [ ! -d "$GOGS_CUSTOM_CONF_PATH" ]; then
mkdir -p $GOGS_CUSTOM_CONF_PATH
echo "