fix for real

This commit is contained in:
Alexander 2024-02-24 16:50:18 +01:00
parent 84f8f361d2
commit 028abb830a

View file

@ -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"