From: Robert Yang Date: Sun, 1 Feb 2015 02:04:55 +0000 (-0800) Subject: binconfig-disabled.bbclass: fix echo command X-Git-Tag: yocto-4.0~26911 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4adf9ac1b8318d4eb3f1c8dd82bbf04c6908eb5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git binconfig-disabled.bbclass: fix echo command 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) Signed-off-by: Robert Yang --- diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass index 0acc9648b04..595cd096f51 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 }