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)

(From OE-Core rev: d4adf9ac1b8318d4eb3f1c8dd82bbf04c6908eb5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-01-31 18:04:55 -08:00 committed by Richard Purdie
parent 775d467fe2
commit 617e2e9413
1 changed files with 1 additions and 1 deletions

View File

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