diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-28 12:11:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:04 +0000 |
commit | 85b66791aa103a8b2fbdb517417d065aaa3368af (patch) | |
tree | 5d5d3efcad4727d0d9f387ff13ced052941a35cb /meta/classes/autotools.bbclass | |
parent | 2f1bcc19150f7299a99293091a2cebcc78c532ee (diff) | |
download | poky-85b66791aa103a8b2fbdb517417d065aaa3368af.tar.gz |
autotools.bbclass: don't create subshell to delete configure scripts
(From OE-Core rev: 107ab45444bfaa2d287bb490f76b44fc827048b5)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 1400b44999..4601148fc3 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -226,9 +226,9 @@ autotools_do_configure() { | |||
226 | # for a package whose autotools are old, on an x86_64 machine, which the old | 226 | # for a package whose autotools are old, on an x86_64 machine, which the old |
227 | # config.sub does not support. Work around this by installing them manually | 227 | # config.sub does not support. Work around this by installing them manually |
228 | # regardless. | 228 | # regardless. |
229 | ( for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do | 229 | for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do |
230 | rm -f `dirname $ac`/configure | 230 | rm -f `dirname $ac`/configure |
231 | done ) | 231 | done |
232 | if [ -e ${AUTOTOOLS_SCRIPT_PATH}/configure.in -o -e ${AUTOTOOLS_SCRIPT_PATH}/configure.ac ]; then | 232 | if [ -e ${AUTOTOOLS_SCRIPT_PATH}/configure.in -o -e ${AUTOTOOLS_SCRIPT_PATH}/configure.ac ]; then |
233 | olddir=`pwd` | 233 | olddir=`pwd` |
234 | cd ${AUTOTOOLS_SCRIPT_PATH} | 234 | cd ${AUTOTOOLS_SCRIPT_PATH} |