From af8cc26d85f10c5dea15065fd1e4d6ae93dba1c8 Mon Sep 17 00:00:00 2001 From: leeboby Date: Fri, 20 Nov 2020 18:17:44 +0800 Subject: [PATCH] Fixed u-boot copy for H616 --- scripts/compilation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compilation.sh b/scripts/compilation.sh index c47fb44..1e2c579 100755 --- a/scripts/compilation.sh +++ b/scripts/compilation.sh @@ -230,7 +230,7 @@ compile_uboot() f_dst=$(basename "${f_src}") fi [[ ! -f $f_src ]] && exit_with_error "U-boot file not found" "$(basename "${f_src}")" - if [[ "${version}" == 2014.07 || "${version}" == 2011.09 ]]; then + if [[ "${version}" =~ 2014.07|2011.09|2018.05 ]]; then cp "${f_src}" "${SRC}/.tmp/packout/${f_dst}" else cp "${f_src}" "${SRC}/.tmp/${uboot_name}/usr/lib/${uboot_name}/${f_dst}"