diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-01-23 22:48:10 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-01-23 22:48:10 +0000 |
commit | 2f9a041f2fe4ed777be3ec483780588728655fc4 (patch) | |
tree | 611d1f7e06960bb8e7372a7553a2a7cfb0c7bf7d /eclass/java-ant-2.eclass | |
parent | EAPI=5; add patch from Martin Väth to fix compile with gcc49 (bug #537338) (diff) | |
download | gentoo-2-2f9a041f2fe4ed777be3ec483780588728655fc4.tar.gz gentoo-2-2f9a041f2fe4ed777be3ec483780588728655fc4.tar.bz2 gentoo-2-2f9a041f2fe4ed777be3ec483780588728655fc4.zip |
Sanitise find arguments when using JAVA_PKG_BSFIX_NAME option. Fix #231956.
Diffstat (limited to 'eclass/java-ant-2.eclass')
-rw-r--r-- | eclass/java-ant-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass index f92fdf286463..ec69cc78ba97 100644 --- a/eclass/java-ant-2.eclass +++ b/eclass/java-ant-2.eclass @@ -14,7 +14,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.58 2014/03/31 16:48:51 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.59 2015/01/23 22:48:10 monsieurp Exp $ # @ECLASS: java-ant-2.eclass # @MAINTAINER: @@ -172,7 +172,7 @@ java-ant_bsfix() { local find_args="" [[ "${JAVA_PKG_BSFIX_ALL}" == "yes" ]] || find_args="-maxdepth 1" - find_args="${find_args} -type f -name ${JAVA_PKG_BSFIX_NAME// / -o -name } " + find_args="${find_args} -type f ( -name ${JAVA_PKG_BSFIX_NAME// / -o -name } )" # This voodoo is done for paths with spaces local bsfix_these |