Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/github/pr/116'.
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurp committed Sep 29, 2015
2 parents 80ba0a1 + 08cd51b commit 247c3f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eclass/java-utils-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -2824,3 +2824,12 @@ is-java-strict() {
[[ -n ${JAVA_PKG_STRICT} ]]
return $?
}

# @FUNCTION: java-pkg_clean
# @DESCRIPTION:
# java package cleaner function, will remove all *.class and *.jar files
# removing any bundled dependencies
java-pkg_clean() {
[[ -n "${JAVA_PKG_NO_CLEAN}" ]] &&
find '(' -name '*.class' -o -name '*.jar' ')' -type f -delete -print || die
}

0 comments on commit 247c3f8

Please sign in to comment.