Skip to content
Permalink
Browse files

image_mt: fix deleting temp files and error for non-Amlogic projects

  • Loading branch information...
arthur-liberman committed Apr 19, 2019
1 parent a5974e4 commit 8d51d387128998e7ce5ca89785028bc6392f81b5
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/image_mt
@@ -579,5 +579,7 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ]
fi

#cleanup unneeded files
[ "$PROJECT" == "Amlogic" ] && rm -rf $TARGET_IMG/$IMAGE_NAME.system $TARGET_IMG/$IMAGE_NAME.kernel
if [ "$PROJECT" == "Amlogic" -o "$PROJECT" == "Amlogic-ng" ]; then
rm -rf $TARGET_IMG/$IMAGE_NAME.system $TARGET_IMG/$IMAGE_NAME.kernel
fi
fi

0 comments on commit 8d51d38

Please sign in to comment.
You can’t perform that action at this time.