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 <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent d31ea3afe1
commit 8678622223

@ -173,7 +173,8 @@ if [ ! "${KERNEL_DEB}" ] ; then
else else
KERNEL=${DEB_FILE} KERNEL=${DEB_FILE}
ACTUAL_DEB_FILE=${KERNEL} #Remove all "\" from file name.
ACTUAL_DEB_FILE=$(echo ${DEB_FILE} | sed 's!.*/!!' | grep linux-image)
fi fi
@ -284,7 +285,7 @@ fi
if [ ! "${KERNEL_DEB}" ] ; then if [ ! "${KERNEL_DEB}" ] ; then
wget -c --directory-prefix=${DIR}/dl/${DIST} ${MIRROR}${DIST}/v${KERNEL}/${ACTUAL_DEB_FILE} wget -c --directory-prefix=${DIR}/dl/${DIST} ${MIRROR}${DIST}/v${KERNEL}/${ACTUAL_DEB_FILE}
else else
cp ${DEB_FILE} ${DIR}/dl/${DIST}/ cp -v ${DEB_FILE} ${DIR}/dl/${DIST}/
fi fi
if [ "${FIRMWARE}" ] ; then if [ "${FIRMWARE}" ] ; then

Loading…
Cancel
Save