From aa3c79568dfaeb9c8747d49d12ac0396eaf6a4ea Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 12 Sep 2016 13:44:51 +0530 Subject: xpp[23]: fix/remove bashism This was breaking on hosts with dash as /bin/sh. Signed-off-by: Christopher Larson Signed-off-by: Sujith H Signed-off-by: Maxin B. John --- recipes-core/xml-commons/xpp2_2.1.10.bb | 2 +- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb b/recipes-core/xml-commons/xpp2_2.1.10.bb index d3baca4..c926722 100644 --- a/recipes-core/xml-commons/xpp2_2.1.10.bb +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb @@ -19,7 +19,7 @@ do_compile() { sourcepath="src/java/drivers/jaxp11:src/java/drivers/sax2:src/java/impl/factory:src/java/impl/format:src/java/impl/node:src/java/impl/pullparser:src/java/impl/tag:src/java/intf" - findpath="${sourcepath//:/ }" + findpath="$(echo "$sourcepath" | tr : " ")" javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"` diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb index bedb8a9..f264022 100644 --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb @@ -19,7 +19,7 @@ do_compile() { mkdir -p build-oe sourcepath="src/java/api:src/java/builder:src/java/dom2_builder:src/java/mxp1_min:src/java/mxp1_standard:src/java/parser_pool:src/java/sax2_driver:src/java/serializer_impl:src/java/util:src/java/wrapper" - findpath="${sourcepath//:/ }" + findpath="$(echo "$sourcepath" | tr : " ")" javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"` -- cgit v1.2.3-54-g00ecf