Patchwork [1/3] kernel-yocto: fix extra CR in do_kernel_checkout

login
register
mail settings
Submitter Saul Wold
Date Dec. 1, 2011, 11:52 p.m.
Message ID <1322783543-4287-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/16015/
State Accepted
Commit 405ac5f5e8604dec087c7d87056c8c7f85739a41
Headers show

Comments

Saul Wold - Dec. 1, 2011, 11:52 p.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/kernel-yocto.bbclass |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Bruce Ashfield - Dec. 2, 2011, 7:55 a.m.
On Thu, Dec 1, 2011 at 6:52 PM, Saul Wold <sgw@linux.intel.com> wrote:
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/classes/kernel-yocto.bbclass |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
> index ad14aac..79f82e3 100644
> --- a/meta/classes/kernel-yocto.bbclass
> +++ b/meta/classes/kernel-yocto.bbclass
> @@ -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

Ouch. Thanks for the fix. Working in hotels .. is less than ideal.

Bruce

>                echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}"
>                rm -rf ${S}
>                mkdir ${S}
> --
> 1.7.6.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index ad14aac..79f82e3 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -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}