diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-28 12:11:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-29 18:14:57 +0000 |
commit | 107ab45444bfaa2d287bb490f76b44fc827048b5 (patch) | |
tree | c9e1125d5e76a45dcd1d97936b4a2831fe8a8d31 /meta/classes/autotools.bbclass | |
parent | 654f0eec426e882e50f688f6d097d992e34e5b40 (diff) | |
download | openembedded-core-107ab45444bfaa2d287bb490f76b44fc827048b5.tar.gz openembedded-core-107ab45444bfaa2d287bb490f76b44fc827048b5.tar.bz2 openembedded-core-107ab45444bfaa2d287bb490f76b44fc827048b5.zip |
autotools.bbclass: don't create subshell to delete configure scripts
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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() { # for a package whose autotools are old, on an x86_64 machine, which the old # config.sub does not support. Work around this by installing them manually # regardless. - ( for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do + for ac in `find ${S} -ignore_readdir_race -name configure.in -o -name configure.ac`; do rm -f `dirname $ac`/configure - done ) + done if [ -e ${AUTOTOOLS_SCRIPT_PATH}/configure.in -o -e ${AUTOTOOLS_SCRIPT_PATH}/configure.ac ]; then olddir=`pwd` cd ${AUTOTOOLS_SCRIPT_PATH} |