From 028abb830aa3a84fef8b754d07f4d98db8548f34 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 24 Feb 2024 16:50:18 +0100 Subject: [PATCH] fix for real --- RESOURCES/OPTIONS/uart/uart.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RESOURCES/OPTIONS/uart/uart.sh b/RESOURCES/OPTIONS/uart/uart.sh index c1ee319..07fd9e4 100755 --- a/RESOURCES/OPTIONS/uart/uart.sh +++ b/RESOURCES/OPTIONS/uart/uart.sh @@ -38,7 +38,7 @@ if [ ! -f "$boot0_file" ]; then fi # check the target folder -target_folder="$ROOTFS_DIR" +target_folder="$project_root/unpacked" if [ ! -d "$target_folder" ]; then echo -e "${RED}ERROR: Cannot find the target folder '$target_folder' ${NC}" exit 7 @@ -46,6 +46,8 @@ fi echo -e "${YELLOW}INFO: Copying the uart files ...${NC}" +echo -e "${YELLOW}INFO: Copying the uart files to $target_folder ...${NC}" + # Copy the uart files to the target folder cp -f "$uboot_file" "$target_folder"