diff --git a/scripts/image b/scripts/image index e9349aa83f..ea63c0b7e8 100755 --- a/scripts/image +++ b/scripts/image @@ -423,8 +423,8 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ] fi # copy device tree image if any - if [ -f "$ROOT/$INSTALL/usr/share/bootloader/dtb.img" ]; then - cp "$ROOT/$INSTALL/usr/share/bootloader/dtb.img" . + if [ -f "$INSTALL/usr/share/bootloader/dtb.img" ]; then + cp "$INSTALL/usr/share/bootloader/dtb.img" . fi zip -q $TARGET_IMG/$IMAGE_NAME.zip *