浏览代码

Merge pull request #977 from albang/dev

$DIRECTORY variable is never set
无闻 10 年之前
父节点
当前提交
aa670ce660
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker/templates/init_gogs.sh.tpl

+ 1 - 1
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 "