diff options
author | Davide Pesavento <pesa@gentoo.org> | 2015-06-13 23:05:46 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2015-06-13 23:05:46 +0000 |
commit | c80758789a9d203c1d3adb158be3c034ecf96da8 (patch) | |
tree | a0bbb94a1f49ff655ddadca6c0449ce223e30b1f /eclass | |
parent | Export MAKEFLAGS and OBJDUMP. (diff) | |
download | gentoo-2-c80758789a9d203c1d3adb158be3c034ecf96da8.tar.gz gentoo-2-c80758789a9d203c1d3adb158be3c034ecf96da8.tar.bz2 gentoo-2-c80758789a9d203c1d3adb158be3c034ecf96da8.zip |
Use -execdir instead of xargs.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-build-multilib.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass index 9f10d72a8819..09da289337a9 100644 --- a/eclass/qt4-build-multilib.eclass +++ b/eclass/qt4-build-multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.25 2015/06/13 22:57:59 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.26 2015/06/13 23:05:46 pesa Exp $ # @ECLASS: qt4-build-multilib.eclass # @MAINTAINER: @@ -209,8 +209,8 @@ qt4-build-multilib_src_prepare() { # Drop -nocache from qmake invocation in all configure tests, to ensure that the # correct toolchain and build flags are picked up from config.tests/.qmake.cache - find config.tests/unix -name '*.test' -type f -print0 | xargs -0 \ - sed -i -e '/bin\/qmake/s/ -nocache//' || die "sed -nocache failed" + find config.tests/unix -name '*.test' -type f -execdir \ + sed -i -e '/bin\/qmake/s/-nocache//' '{}' + || die "sed -nocache failed" # compile.test needs additional patching so that it doesn't create another cache file # inside the test subdir, which would incorrectly override config.tests/.qmake.cache |