From 5f20547d454eda23ad5db4900a48bc28747d1359 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 11:18:05 +0800
Subject: [PATCH] update build shell script to format

---
 3rdparty/stunnel/build.sh |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/3rdparty/stunnel/build.sh b/3rdparty/stunnel/build.sh
index f2088fd..05877df 100755
--- a/3rdparty/stunnel/build.sh
+++ b/3rdparty/stunnel/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/crosstool/cortex-a7/bin/arm-linux-gnueabi-
 
 function msg_banner()
 {
@@ -70,8 +68,8 @@
     msg_banner "Start cross compile $SRC_NAME "
 
     if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
-        wget http://www.usenix.org.uk/mirrors/stunnel/${SRC_NAME}.${PACK_SUFIX}
-        #wget ${LYFTP_SRC}/${SRC_NAME}.${PACK_SUFIX}
+        #wget http://www.usenix.org.uk/mirrors/stunnel/${SRC_NAME}.${PACK_SUFIX}
+        wget ${LYFTP_SRC}/${SRC_NAME}.${PACK_SUFIX}
 
         check_result "ERROR: download ${SRC_NAME} failure"
     fi

--
Gitblit v1.9.1