bug: protect against undefined conf_uboot_no_uenvcmd

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent b281d350c5
commit 39a66e4811

@ -1531,7 +1531,12 @@ process_dtb_conf () {
if [ "${conf_uboot_use_uenvcmd}" ] ; then if [ "${conf_uboot_use_uenvcmd}" ] ; then
conf_entrypt="uenvcmd" conf_entrypt="uenvcmd"
else else
if [ ! "x${conf_uboot_no_uenvcmd}" = "x" ] ; then
conf_entrypt="${conf_uboot_no_uenvcmd}" conf_entrypt="${conf_uboot_no_uenvcmd}"
else
echo "Error: [conf_uboot_no_uenvcmd] not defined, stopping..."
exit
fi
fi fi
} }

Loading…
Cancel
Save