From 310e937a08a030831dc22b35ad7df1e389dbaf02 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 17 Feb 2017 06:40:16 +0000 Subject: [PATCH] INSTALL: drop $ROOT, convert to absolute path --- scripts/image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 *