--- elwix/build_3thparty.sh 2017/08/22 14:36:56 1.6.2.2 +++ elwix/build_3thparty.sh 2017/10/08 10:23:40 1.6.2.3 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_3thparty.sh,v 1.6.2.2 2017/08/22 14:36:56 misho Exp $ +# $Id: build_3thparty.sh,v 1.6.2.3 2017/10/08 10:23:40 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -98,6 +98,8 @@ compile_3th() [ $? -ne 0 ] && exit 1 ${BUILD_SH} rsync ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 + ${BUILD_SH} iperf ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ${BUILD_SH} mpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ${BUILD_SH} dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -126,8 +128,6 @@ compile_3th() # ${BUILD_SH} iftop ${CBUILD} ${PKG} ${TARGET_BUILD} # [ $? -ne 0 ] && exit 1 -# ${BUILD_SH} iperf ${CBUILD} ${PKG} ${TARGET_BUILD} -# [ $? -ne 0 ] && exit 1 # ${BUILD_SH} sudo ${CBUILD} ${PKG} ${TARGET_BUILD} # [ $? -ne 0 ] && exit 1 # ${BUILD_SH} smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -204,6 +204,10 @@ build_3th() } ### main() +if [ -n "${1}" ]; then + rm ${PKG}/elwix.ver +fi + if ! SnitVer ${PKG}/elwix.ver; then clean_3th || exit 1 compile_3th || exit 1