From d48d9541682c16769d0077402aebd3cd62dbf24a Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 23 Dec 2019 23:45:28 +0100 Subject: [PATCH] the best --- danio_gcc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/danio_gcc.sh b/danio_gcc.sh index 190a007..64e0dfb 100755 --- a/danio_gcc.sh +++ b/danio_gcc.sh @@ -200,8 +200,8 @@ choose_sub() targets="`grep ' - t=' .travis.yml | cut -f 2 -d = | cut -f 1 -d ' ' | sort -u`" if [ "${1}" -a "${2}" ]; then - if echo ${1} | grep -q "eabi"; then export buildnewlib="1" ;fi - if echo ${1} | grep -q "elf"; then export buildnewlib="1" ;fi + if echo ${1} | grep -q "eabi"; then export buildnewlib="1"; fi + if echo ${1} | grep -q "elf"; then export buildnewlib="1"; fi target="`echo ${1} | cut -d - -f1`" mach="`echo ${1} | cut -d - -f2`" runit "${target}-danio-${mach}" ${2} @@ -216,8 +216,8 @@ elif [ "${AUTOBUILD}" ]; then elif [ "${METHOD}" = "glibc" ]; then export buildnewlib="0" for i in ${targets}; do - if [ "`echo ${i} | cut -f 3 -d -`" = "eabi" ]; then continue; fi - if [ "`echo ${i} | cut -f 3 -d -`" = "elf" ]; then continue; fi + if echo ${i} | grep -q "eabi"; then continue; fi + if echo ${i} | grep -q "elf"; then continue; fi runit ${i} 32 runit ${i} 64 done