summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2008-06-19 19:48:40 +0000
committerAlistair Bush <ali_bush@gentoo.org>2008-06-19 19:48:40 +0000
commit9a08fb5261df793cbbb3e455a83297b458320a37 (patch)
treeebb2dc4f6c0b15423a0dabad275892e00698aafe /eclass
parentstable on sparc, bug #227143 (diff)
downloadgentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.tar.gz
gentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.tar.bz2
gentoo-2-9a08fb5261df793cbbb3e455a83297b458320a37.zip
Add missing -x operator.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-ant-2.eclass4
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."