This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git
commit 30e6658ae05ca30dd7ebc58e0b6fe4d50f9e0a4d Author: YAMAMOTO Takashi <[email protected]> AuthorDate: Mon May 4 21:46:03 2020 +0900 cibuild.sh: Create $prebuilt/env.sh It aimed to be sourced by user shell to update PATH. --- cibuild.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cibuild.sh b/cibuild.sh index 508c43f..d766780 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -31,6 +31,7 @@ apps=$WD/../apps tools=$WD/../tools prebuilt=$WD/../prebuilt os=$(uname -s) +EXTRA_PATH= case $os in Darwin) @@ -45,6 +46,7 @@ esac function add_path { PATH=$1:$PATH + EXTRA_PATH=$1:$EXTRA_PATH } function python-tools { @@ -281,6 +283,8 @@ function install_tools { $func done popd + + echo PATH=$EXTRA_PATH\$PATH > $prebuilt/env.sh } function run_builds {
