kernel-yocto: fix extra CR in do_kernel_checkout

(From OE-Core rev: 405ac5f5e8604dec087c7d87056c8c7f85739a41)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2011-12-01 15:32:52 -08:00 committed by Richard Purdie
parent 8885163a35
commit b5734ca527
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ do_patch() {
}
do_kernel_checkout() {
if [ -d $
{WORKDIR}/git/.git/refs/remotes/origin ]; then
if [ -d ${WORKDIR}/git/.git/refs/remotes/origin ]; then
echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}"
rm -rf ${S}
mkdir ${S}