scripts/bitbake: Remove all instances of paths to a layer's scripts directory.
authorFranklin S. Cooper Jr <fcooper@ti.com>
Sat, 9 Feb 2013 17:08:10 +0000 (11:08 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2013 12:17:35 +0000 (12:17 +0000)
commitc29095997de4400c1da63ef21a6b8093aa7329b6
treebddde234603abb122e6528931d02d179d40419a1
parentf070da03e7b547a9b5c1f3b5b75c2e11c14c6f17
scripts/bitbake: Remove all instances of paths to a layer's scripts directory.

* Currently the assumption is made that only oe-core can include a scripts
  directory.

* However, when other layers create a scripts directory the bitbake script
  freaks out causing a infinite recursive loop until it crashes.

* Simply changing the regular expression to remove all instances of scripts path
  instead of just the first one fixes this problem.

 [Yocto Bug 3872]

(From OE-Core rev: 9b445cc39604223b0cfb21d28f748a86ff4cdf68)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/bitbake