]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: improve POSIXLY_CORRECT compat
authorRichard Tollerton <rich.tollerton@ni.com>
Wed, 5 Nov 2014 21:06:16 +0000 (15:06 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Nov 2014 10:17:06 +0000 (10:17 +0000)
commit0870d9115546ad3b456af52ed45e46e637874a48
treefe13be46abc85d40c0f997ed8c32962b60ec6204
parentc7eca550b0c11c040440ee2610c5eb1e78ed5be4
populate_sdk_base: improve POSIXLY_CORRECT compat

The install script is sometimes called under POSIXLY_CORRECT. This
requires two fixes be made:

1. `find -perm /0000` is a gnuism; replace with an equivalent boolean
expression using `-perm -0000`.

2. POSIX grep requires that all options be passed on the command line
before all files; otherwise, the options must be parsed as filenames.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/files/toolchain-shar-template.sh