]> 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>
Wed, 31 Dec 2014 10:17:17 +0000 (10:17 +0000)
commit21cfc81493d9f8ae15194b39a2b8e1c1d228f1e2
treea07883e5260a320340f24ecf2995c6ea73d4ee4e
parentb8bba551f96f7ff7c2eb772bbdc0b38ed2449683
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.

(From OE-Core rev: 0870d9115546ad3b456af52ed45e46e637874a48)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/files/toolchain-shar-template.sh