[Buildroot] [/bin/sh which ar] should be [/bin/sh -c "which ar"]
Bernhard Fischer
rep.dot.nop at gmail.com
Sun Jul 8 10:28:17 UTC 2007
On Sun, Jul 08, 2007 at 06:35:39AM +0200, Ulf Samuelsson wrote:
>When the host tools are determined in the top Makefile
>(every time make us run)
>this fails 5 times with the error message:
>
>/usr/bin/which: /usr/bin/which: cannot execute binary file
>
>What happens inside the Makefile is that a command is run:
>$ /bin/sh which ar
>and the bash shell does not like this on my OpenSuSE 10.2 system
>$ /bin/sh -c "which ar"
>will do what we want, so I would like to apply the following patch
>Any comments?
ok, please apply.
Thanks,
More information about the buildroot
mailing list