mirror of https://github.com/OpenIPC/firmware.git
[skip ci] Fix empty field in cut in the building.sh
parent
c0df98b76d
commit
cc942ef088
|
@ -197,10 +197,10 @@ copy_function() {
|
||||||
|
|
||||||
uni_build() {
|
uni_build() {
|
||||||
BOARD=$FUNCNAME
|
BOARD=$FUNCNAME
|
||||||
SOC=$(echo $BOARD | cut -d '_' -f 1)
|
SOC=$(echo $BOARD | cut -sd '_' -f 1)
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
if [ "$(echo $BOARD | cut -d '_' -f 2)" == "" ]; then
|
if [ "$(echo $BOARD | cut -sd '_' -f 2)" == "" ]; then
|
||||||
BOARD="${BOARD}_openipc"
|
BOARD="${BOARD}_openipc"
|
||||||
elif [ "$BOARD" == "hi3518ev200_hs303" ]; then
|
elif [ "$BOARD" == "hi3518ev200_hs303" ]; then
|
||||||
BOARD=hi3518ev200_openipc
|
BOARD=hi3518ev200_openipc
|
||||||
|
|
Loading…
Reference in New Issue