浏览代码

路径简化

zjcqoo 6 年之前
父节点
当前提交
ef93a94ee7
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      run.sh

+ 1 - 7
run.sh

@@ -1,10 +1,4 @@
-NGX_BIN=/home/jsproxy/openresty/nginx/sbin/nginx
-
-# local test
-if [ ! -f $NGX_BIN ]; then
-  NGX_BIN=/usr/local/openresty/nginx/sbin/nginx
-fi
-
+NGX_BIN=$HOME/openresty/nginx/sbin/nginx
 CUR_DIR=$(cd `dirname $0` && pwd)
 
 if [ $1 ]; then