diff --git a/mk_mmc.sh b/mk_mmc.sh index f1c9f16..a92db96 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1430,7 +1430,7 @@ check_dtb_board () { #/hwpack/${dtb_board}.conf unset leading_slash - leading_slash=$(echo ${dtb_board} | grep "/") + leading_slash=$(echo ${dtb_board} | grep "/" || unset leading_slash) if [ "${leading_slash}" ] ; then dtb_board=$(echo "${leading_slash##*/}") fi