diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-31 18:04:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-08 08:00:25 +0000 |
commit | 617e2e9413384d0530fd1b89d7509bb7d44aae54 (patch) | |
tree | 5b07f75c9ba05bc94da892915fb9c172b5dab066 /meta/classes/binconfig-disabled.bbclass | |
parent | 775d467fe2cb54c4f4806507da0d4241e4997cc8 (diff) | |
download | poky-617e2e9413384d0530fd1b89d7509bb7d44aae54.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)
(From OE-Core rev: d4adf9ac1b8318d4eb3f1c8dd82bbf04c6908eb5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/binconfig-disabled.bbclass')
-rw-r--r-- | meta/classes/binconfig-disabled.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass index 0acc9648b0..595cd096f5 100644 --- a/meta/classes/binconfig-disabled.bbclass +++ b/meta/classes/binconfig-disabled.bbclass | |||
@@ -12,7 +12,7 @@ do_install_append () { | |||
12 | echo "#!/bin/sh" > ${D}$x | 12 | echo "#!/bin/sh" > ${D}$x |
13 | # Make the disabled script emit invalid parameters for those configure | 13 | # Make the disabled script emit invalid parameters for those configure |
14 | # scripts which call it without checking the return code. | 14 | # scripts which call it without checking the return code. |
15 | echo "echo '--should-not-have-used-$x'" > ${D}$x | 15 | echo "echo '--should-not-have-used-$x'" >> ${D}$x |
16 | echo "exit 1" >> ${D}$x | 16 | echo "exit 1" >> ${D}$x |
17 | done | 17 | done |
18 | } | 18 | } |