X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fmkuboot.sh;h=446739c7843ab0f28b4efcead8574cd5ac5bb3ac;hb=5943a268002fce97885f2ca08827ff1b0312068c;hp=4b06c5eea7283a94524c149f598cfef66872eaaa;hpb=4559b438225b01942e1661759db0df55883b1bc0;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh index 4b06c5eea728..446739c7843a 100755 --- a/scripts/mkuboot.sh +++ b/scripts/mkuboot.sh @@ -4,14 +4,14 @@ # Build U-Boot image when `mkimage' tool is available. # -MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage) +MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage") if [ -z "${MKIMAGE}" ]; then MKIMAGE=$(type -path mkimage) if [ -z "${MKIMAGE}" ]; then # Doesn't exist echo '"mkimage" command not found - U-Boot images will not be built' >&2 - exit 0; + exit 1; fi fi