diff options
| author | ruki <[email protected]> | 2017-05-17 08:57:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-17 08:57:18 +0800 |
| commit | a06a241c59cfa7e13769e797872579214bd38367 (patch) | |
| tree | e9251d45a12565315616344b1d0b5826cda9a41f /scripts | |
| parent | 08c53d721f0b9c6e7a931eaffbed941d0bcc6253 (diff) | |
print error info when building xmake core fails
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 3d174e702..6279cfdd3 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -86,7 +86,12 @@ else fi if [ 'x__install_only__' != "x$2" ] then - make -C /tmp/$$xmake_getter --no-print-directory build || my_exit 'Build Fail' + make -C /tmp/$$xmake_getter --no-print-directory build + if [ $? -ne 0 ] + then + make -C /tmp/$$xmake_getter/core --no-print-directory error + my_exit 'Build Fail' + fi fi PATHclone=$PATH patharr=($PATHclone) |
