card script: ADDON can be null

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 3d37e4223e
commit 033de72fde

@ -1885,7 +1885,7 @@ if [ "$IN_VALID_UBOOT" ] ; then
usage usage
fi fi
if [ -n ${ADDON} ] ; then if [ -n "${ADDON}" ] ; then
if ! is_valid_addon ${ADDON} ; then if ! is_valid_addon ${ADDON} ; then
echo "ERROR: ${ADDON} is not a valid addon type" echo "ERROR: ${ADDON} is not a valid addon type"
echo "-----------------------------" echo "-----------------------------"

Loading…
Cancel
Save