From 5f98a21f8d4ca02a9f76314b1eb86f96d6d78c32 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Sat, 13 Apr 2013 14:46:28 -0500 Subject: [PATCH] dtb: fix leading_slash Signed-off-by: Robert Nelson --- mk_mmc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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