From 86786222238a4874682e03eb8bf89230f0999599 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 13 Jul 2011 19:19:00 -0500 Subject: [PATCH] fix --deb-file, it was using the full deb path late in the script, instead of where it was located.. Signed-off-by: Robert Nelson --- mk_mmc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index a7bebc5..56ab36c 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -173,7 +173,8 @@ if [ ! "${KERNEL_DEB}" ] ; then else KERNEL=${DEB_FILE} - ACTUAL_DEB_FILE=${KERNEL} + #Remove all "\" from file name. + ACTUAL_DEB_FILE=$(echo ${DEB_FILE} | sed 's!.*/!!' | grep linux-image) fi @@ -284,7 +285,7 @@ fi if [ ! "${KERNEL_DEB}" ] ; then wget -c --directory-prefix=${DIR}/dl/${DIST} ${MIRROR}${DIST}/v${KERNEL}/${ACTUAL_DEB_FILE} else - cp ${DEB_FILE} ${DIR}/dl/${DIST}/ + cp -v ${DEB_FILE} ${DIR}/dl/${DIST}/ fi if [ "${FIRMWARE}" ] ; then