diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-04-26 23:28:02 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-04-26 23:28:02 +0000 |
commit | b00a8b262488ce7290c58cf986f1d5b233d03f07 (patch) | |
tree | 71a52f08399653fba257ed035cf4e9b28bdf92fc /dev-java/ant-tasks | |
parent | Initial 2.6.21 release (diff) | |
download | gentoo-2-b00a8b262488ce7290c58cf986f1d5b233d03f07.tar.gz gentoo-2-b00a8b262488ce7290c58cf986f1d5b233d03f07.tar.bz2 gentoo-2-b00a8b262488ce7290c58cf986f1d5b233d03f07.zip |
Remove IFS mangling to prevent potential breakage.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/ant-tasks')
-rw-r--r-- | dev-java/ant-tasks/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/dev-java/ant-tasks/ChangeLog b/dev-java/ant-tasks/ChangeLog index da665a0f5775..d12dddd4dd68 100644 --- a/dev-java/ant-tasks/ChangeLog +++ b/dev-java/ant-tasks/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/ant-tasks # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.60 2007/04/25 20:45:54 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.61 2007/04/26 23:28:02 caster Exp $ + + 26 Apr 2007; Vlastimil Babka <caster@gentoo.org> + ant-tasks-1.7.0-r2.ebuild: + Remove IFS mangling to prevent potential breakage. 25 Apr 2007; Vlastimil Babka <caster@gentoo.org> -ant-tasks-1.7.0.ebuild, -ant-tasks-1.7.0-r1.ebuild: diff --git a/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild b/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild index 55a63b2f0b66..8d484366f955 100644 --- a/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild +++ b/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild,v 1.1 2007/03/28 09:36:43 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.7.0-r2.ebuild,v 1.2 2007/04/26 23:28:02 caster Exp $ inherit java-pkg-2 eutils @@ -52,9 +52,8 @@ src_compile() { :; } my_reg_jars() { # Recording jars to get the same behaviour as before - local oldifs="${IFS}" - IFS=":" - for jar in $(java-pkg_getjars ${1}); do + local jars="$(java-pkg_getjars ${1})" + for jar in ${jars//:/ }; do # these two are only for tasks, not core if [[ "${1}" != ant-core ]]; then # this one for package.env, thus java-config -p etc @@ -66,7 +65,6 @@ my_reg_jars() { # doesn't use the launcher dosym ${jar} /usr/share/ant/lib/ done - IFS="${oldifs}" } src_install() { |