From: Andre McCurdy Date: Thu, 28 Jan 2016 20:11:52 +0000 (-0800) Subject: autotools.bbclass: don't create subshell to delete configure scripts X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107ab45444bfaa2d287bb490f76b44fc827048b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git autotools.bbclass: don't create subshell to delete configure scripts Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 1400b44999a..4601148fc36 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}