aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/binconfig-disabled.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-31 18:04:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-07 13:30:56 +0000
commitd4adf9ac1b8318d4eb3f1c8dd82bbf04c6908eb5 (patch)
treed518c410df8e6fc78df7d77cae5e5bc5dfbe8b8f /meta/classes/binconfig-disabled.bbclass
parent289e433f8d0e4b5a710094e3a3c0d8e77e82e50d (diff)
downloadopenembedded-core-contrib-d4adf9ac1b8318d4eb3f1c8dd82bbf04c6908eb5.tar.gz
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 <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes/binconfig-disabled.bbclass')
-rw-r--r--meta/classes/binconfig-disabled.bbclass2
1 files changed, 1 insertions, 1 deletions
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
}