Explorar el Código

cat the file, not the filename

Girish Ramakrishnan hace 8 años
padre
commit
2107563aee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      start.sh

+ 1 - 1
start.sh

@@ -70,7 +70,7 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
     /home/git/app.ini.template > "/run/gogs/app.ini"
 
 # merge any user config file
-[[ -f /app/data/app.ini ]] && echo "/app/data/app.ini" >> "/run/gogs/app.ini"
+[[ -f /app/data/app.ini ]] && cat "/app/data/app.ini" >> "/run/gogs/app.ini"
 
 mkdir -p /app/data/repository /app/data/ssh