diff options
| author | ruki <[email protected]> | 2020-01-19 11:54:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-01-19 11:54:40 +0800 |
| commit | 7fa954bf793944bdf42175a372277fcd386d62af (patch) | |
| tree | 46a02c8e902ca429543f8874954d0abaec8e1e73 /scripts/srcenv.profile | |
| parent | e07b57f40889e4ce5c95afccf81aee3e43d05b75 (diff) | |
update scrdenv.profile
Diffstat (limited to 'scripts/srcenv.profile')
| -rw-r--r-- | scripts/srcenv.profile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile index 46cb17234..1fe3af35b 100644 --- a/scripts/srcenv.profile +++ b/scripts/srcenv.profile @@ -1,6 +1,10 @@ # cd projectdir export XMAKE_PROGRAM_DIR=`pwd`/xmake -alias xmake=`pwd`/core/src/demo/demo.b +if [ -f ``pwd`/core/build/xmake` ]; then + alias xmake=`pwd`/core/build/xmake +else + alias xmake=`pwd`/core/src/demo/demo.b +fi xmake --version xmake l xmake.programdir xmake l xmake.programfile |
