Explorar o código

remove bash_profile.sh from lapis. Update reference to correct version of
openresty

Lita Gratrix %!s(int64=10) %!d(string=hai) anos
pai
achega
dc84deec46
Modificáronse 2 ficheiros con 2 adicións e 3 borrados
  1. 0 3
      frameworks/Lua/lapis/bash_profile.sh
  2. 2 0
      frameworks/Lua/lapis/setup.sh

+ 0 - 3
frameworks/Lua/lapis/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1

+ 2 - 0
frameworks/Lua/lapis/setup.sh

@@ -4,6 +4,8 @@ sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1
+export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.7.1
 export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
 
 lapis server production &