mirror of https://github.com/OpenIPC/firmware.git
Fix building cut (#359)
* Set internal release versions more flexible * [skip ci] Fix empty field in cut in the building.shpull/360/head
parent
d1c550c0a9
commit
612ff2729d
|
@ -197,10 +197,10 @@ copy_function() {
|
|||
|
||||
uni_build() {
|
||||
BOARD=$FUNCNAME
|
||||
SOC=$(echo $BOARD | cut -d '_' -f 1)
|
||||
SOC=$(echo $BOARD | cut -sd '_' -f 1)
|
||||
|
||||
set -e
|
||||
if [ "$(echo $BOARD | cut -d '_' -f 2)" == "" ]; then
|
||||
if [ "$(echo $BOARD | cut -sd '_' -f 2)" == "" ]; then
|
||||
BOARD="${BOARD}_openipc"
|
||||
elif [ "$BOARD" == "hi3518ev200_hs303" ]; then
|
||||
BOARD=hi3518ev200_openipc
|
||||
|
|
Loading…
Reference in New Issue