[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

Graydon, Tracy tracy.graydon at intel.com
Fri Sep 9 15:02:44 PDT 2016


On second thought… Forget this one. I will submit a new patch that
un-bashifies it. That would be the “right” thing to do.

-t

On 09/09/16, 1:15 PM, "yocto-bounces at yoctoproject.org on behalf of
Graydon, Tracy" <yocto-bounces at yoctoproject.org on behalf of
tracy.graydon at intel.com> wrote:

>Script was using /bin/sh and causing an error in nightly-oe-selftest
>build:
>/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6:
>/home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found
>
>Changing script to use /bin/bash instead fixes the issue.
>
>Signed-off-by: Graydon, Tracy <tracy.graydon at intel.com>
>---
> bin/checkvnc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/bin/checkvnc b/bin/checkvnc
>index 574ba48..11b1a41 100755
>--- a/bin/checkvnc
>+++ b/bin/checkvnc
>@@ -1,4 +1,4 @@
>-#!/bin/sh
>+#!/bin/bash
> #
> # check if vnc server is running, and if not, cleanup and restart
> #
>-- 
>2.7.0
>
>-- 
>_______________________________________________
>yocto mailing list
>yocto at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/yocto
>




More information about the yocto mailing list