From f8f05031c8278c8ad6dd18714c2a82d930dbfcbd Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 24 Aug 2019 19:18:05 +0800
Subject: [PATCH] update setup_env shell script, fix set -e bug
---
3rdparty/tree/build.sh | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/3rdparty/tree/build.sh b/3rdparty/tree/build.sh
index 11fd569..e849053 100755
--- a/3rdparty/tree/build.sh
+++ b/3rdparty/tree/build.sh
@@ -11,9 +11,7 @@
LYFTP_SRC=ftp://master.iot-yun.club/src/
-if [ -z $CROSSTOOL ] ; then
- CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
-fi
+CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
function msg_banner()
{
@@ -61,7 +59,8 @@
SRC_NAME=tree-1.8.0
PACK_SUFIX=tgz
- if [ -f ${PREFIX_PATH}/ethtool ] ; then
+ if [ -f ${PREFIX_PATH}/tree ] ; then
+ msg_banner "$SRC_NAME already compile and installed"
return 0;
fi
--
Gitblit v1.9.1