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
The following commit(s) were added to refs/heads/master by this push: new 742e0da Get the full directory name of the cibuild.sh no matter where called from 742e0da is described below commit 742e0dae46d78701f10f995772f667c97c74620f Author: liuhaitao <liuhai...@xiaomi.com> AuthorDate: Fri Feb 7 23:20:24 2020 +0800 Get the full directory name of the cibuild.sh no matter where called from Or it would fail to set nuttx/apps/tools/prebuilt dirs correctly when cibuild.sh is not called by 'cd testing; ./cibuild.sh'. For example, it would break jenkins groovy script which call with ./testing/cibuild.sh. Change-Id: I8a9d4a6534578a472952668c0172cd6f5bedff8e Signed-off-by: liuhaitao <liuhai...@xiaomi.com> --- cibuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuild.sh b/cibuild.sh index a939744..9a36c9f 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -18,7 +18,7 @@ # under the License. set -e -x -WD=$PWD +WD=$(cd $(dirname $0) && pwd) nuttx=$WD/../nuttx apps=$WD/../apps tools=$WD/../tools