diff --git a/devices/amlogic_meson8b/gen_aml_emmc_img.sh b/devices/amlogic_meson8b/gen_aml_emmc_img.sh index 50d770e7dcb4..657c73554ac8 100644 --- a/devices/amlogic_meson8b/gen_aml_emmc_img.sh +++ b/devices/amlogic_meson8b/gen_aml_emmc_img.sh @@ -12,8 +12,8 @@ ROOTFS_IMAGE=$3 # 下载并准备工具 -bash ver="v0.3.1" -bash curl -L -o ./AmlImg https://github.com/hzyitc/AmlImg/releases/download/$ver/AmlImg_${ver}_linux_amd64 +ver="v0.3.1" +curl -L -o ./AmlImg https://github.com/hzyitc/AmlImg/releases/download/$ver/AmlImg_${ver}_linux_amd64 chmod +x ./AmlImg curl -L -o ./uboot.img https://github.com/hzyitc/u-boot-onecloud/releases/download/build-20221028-0940/eMMC.burn.img ./AmlImg unpack ./uboot.img burn/