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

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


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

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
 }
-- 
1.7.9.5




More information about the Openembedded-core mailing list