未验证 提交 36ec9456 编写于 作者: C chalsliu 提交者: GitHub

Make PADDLE_ROOT as an environment variable

上级 d8391a19
...@@ -51,6 +51,7 @@ function init() { ...@@ -51,6 +51,7 @@ function init() {
NONE='\033[0m' NONE='\033[0m'
PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )" PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )"
export PADDLE_ROOT
if [ -z "${SCRIPT_NAME}" ]; then if [ -z "${SCRIPT_NAME}" ]; then
SCRIPT_NAME=$0 SCRIPT_NAME=$0
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册