mirror of
https://github.com/HEYAHONG/HEnvBox.git
synced 2025-10-14 02:58:30 +08:00
修复脚本BUG
This commit is contained in:
@@ -31,12 +31,13 @@ pushd ${script_dir}
|
||||
|
||||
#进行编译
|
||||
make -f crosstool-ng.mk install
|
||||
MAKE_ERRNO=$?
|
||||
|
||||
#退出目录
|
||||
popd
|
||||
|
||||
#提示是否成功
|
||||
if [ "$?" -eq "0" ]
|
||||
if [ "${MAKE_ERRNO}" -eq "0" ]
|
||||
then
|
||||
echo 编译成功!
|
||||
else
|
||||
|
Reference in New Issue
Block a user