summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-09-06 04:33:39 +0200
committerSebastian Pipping <sping@gentoo.org>2015-09-06 04:39:01 +0200
commit9d6418b6b36e0315ecd0f775c346f4ec4d536dce (patch)
treecba5fdff38732a2f4af330e29372afcf9087bac3
parentAdd license header (with permission from both) (diff)
downloadjava-apicheck-9d6418b6b36e0315ecd0f775c346f4ec4d536dce.tar.gz
java-apicheck-9d6418b6b36e0315ecd0f775c346f4ec4d536dce.tar.bz2
java-apicheck-9d6418b6b36e0315ecd0f775c346f4ec4d536dce.zip
Workaround for java-config listing missing files
java-config Gentoo bug #557946
-rw-r--r--apicheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/apicheck b/apicheck
index ead11f8..92088fc 100644
--- a/apicheck
+++ b/apicheck
@@ -67,7 +67,7 @@ generate_japi() {
file=${1}
shift
debug && echo japize as ${file} packages $(java-config -r | tr : " ") "${@}"
- japize as ${file} packages $(java-config -r | tr : " ") "${@}" || end 1
+ japize as ${file} packages $(java-config -r | tr : " " | xargs ls -1 2>/dev/null) "${@}" || end 1
}
listpackages() {