diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2008-06-19 19:48:40 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2008-06-19 19:48:40 +0000 |
commit | 9a08fb5261df793cbbb3e455a83297b458320a37 (patch) | |
tree | ebb2dc4f6c0b15423a0dabad275892e00698aafe /eclass/java-ant-2.eclass | |
parent | stable on sparc, bug #227143 (diff) | |
download | gentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.tar.gz gentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.tar.bz2 gentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.zip |
Add missing -x operator.
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 2befd7002547..7924a2fd54c1 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.33 2008/06/18 10:27:22 ali_bush Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.34 2008/06/19 19:48:40 ali_bush Exp $ inherit java-utils-2 @@ -409,7 +409,7 @@ java-ant_xml-rewrite() { # gen1 is deprecated if [[ -x "${gen2}" ]]; then ${gen2} "${@}" || die "${gen2} failed" - elif [[ "${gen2_1}" ]]; then + elif [[ -x "${gen2_1}" ]]; then ${gen2} "${@}" || die "${gen2_1} failed" else eerror "No binary for rewriting found." |