diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index cdc8e3e91adbfdcbed24fc7672a27bf2176c8488..6eabaa1d154128c6cf59fb0aab443b58db2bb251 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -51,6 +51,7 @@ function init() { NONE='\033[0m' PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )" + export PADDLE_ROOT if [ -z "${SCRIPT_NAME}" ]; then SCRIPT_NAME=$0 fi