Skip to content

Commit

Permalink
Fix WORKDIR to use UNPACKDIR
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
  • Loading branch information
ajlennon committed Jan 23, 2025
1 parent d324d0a commit d81cc24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipes-core/xml-commons/xml-commons-resolver1.1_1.2.06.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-externa

inherit java-library

S = "${WORKDIR}/xml-commons-external-${PV}"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"

DEPENDS = "fastjar-native jaxp1.3"

do_unpackpost[dirs] = "${B}"
do_unpackpost[dirs] = "${UNPACKDIR}"
do_unpackpost() {
find src -exec \
find -name *.src -exec \
sed -i -e "s|@impl.name@|XmlResolver|" \
-e "s|@impl.version@|1.2|" {} \;
}
Expand Down

0 comments on commit d81cc24

Please sign in to comment.