Get the full directory name of the testbuild.sh no matter where called from
Change-Id: I00cab8d97acb8e436622c0bdd4bc4bfe7374bca3 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
d09af3b7f3
commit
7ec66ccf94
@ -32,13 +32,13 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
WD=$PWD
|
||||
WD=$(cd $(dirname $0) && cd .. && pwd)
|
||||
nuttx=$WD/../nuttx
|
||||
|
||||
progname=$0
|
||||
fail=0
|
||||
sizet=default
|
||||
APPSDIR=../apps
|
||||
APPSDIR=$WD/../apps
|
||||
MAKE_FLAGS=-k
|
||||
MAKE=make
|
||||
unset testfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user