[OE-core] [PATCH 3/3] binconfig-disabled.bbclass: fix echo command

Robert Yang liezhi.yang at windriver.com
Tue Feb 3 01:24:48 UTC 2015



On 02/03/2015 09:22 AM, Robert Yang wrote:
> The ">" should be ">>".
>
> We had got something like the following in pcap-config:
> echo '--should-not-have-used-/usr/bin/pcap-config'
> exit 1
>
> (Lacks of #!/bin/sh)
>
> (LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20150202

Sorry, the (LOCAL: xxx) should not be here, I've updated in the repo.

// Robert

>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>   meta/classes/binconfig-disabled.bbclass |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass
> index 0acc964..595cd09 100644
> --- a/meta/classes/binconfig-disabled.bbclass
> +++ b/meta/classes/binconfig-disabled.bbclass
> @@ -12,7 +12,7 @@ do_install_append () {
>   		echo "#!/bin/sh" > ${D}$x
>   		# Make the disabled script emit invalid parameters for those configure
>   		# scripts which call it without checking the return code.
> -		echo "echo '--should-not-have-used-$x'" > ${D}$x
> +		echo "echo '--should-not-have-used-$x'" >> ${D}$x
>   		echo "exit 1" >> ${D}$x
>   	done
>   }
>



More information about the Openembedded-core mailing list