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