autotools.bbclass: don't create subshell to delete configure scipts
PATCH 1/1 autotools.bbclass: don't create subshell to delete configure scipts
Signed-off-by Andre McCurdy <[email protected]>
--- meta/classes/autotools.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/autotools.bbclass +2 -2
@@ -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}
Signature · 1 line
1.9.1