diff options
Diffstat (limited to 'scripts/mkuboot.sh')
| -rwxr-xr-x | scripts/mkuboot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh index 4b06c5eea72..446739c7843 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 |
