Merge tag 'dm-pull-22aug20' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
[platform/kernel/u-boot.git] / tools / imx8m_image.sh
index 4959f9c..ba60104 100755 (executable)
@@ -14,10 +14,8 @@ for f in $blobs; do
                continue
        fi
 
-       if [ -f $f ]; then
-               continue
-       else
-               echo "WARNING '$tmp' not found, resulting binary is not-functional" >&2
+       if [ ! -f $f ]; then
+               echo "WARNING '$f' not found, resulting binary is not-functional" >&2
                exit 1
        fi
 done