diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-07-26 12:35:10 +0100 |
---|---|---|
committer | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-07-26 14:08:12 +0100 |
commit | eb01fa67a93a92002bfbf359e879dad079bd2759 (patch) | |
tree | 366799973e4b135c25075d9a49caa5771ff5833e /openembedded/scripts/mauve-test-pkg | |
parent | f458c682ab588def384bce204f85330a7e7dd18c (diff) |
mauve: correct path to package blacklist
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'openembedded/scripts/mauve-test-pkg')
-rwxr-xr-x | openembedded/scripts/mauve-test-pkg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openembedded/scripts/mauve-test-pkg b/openembedded/scripts/mauve-test-pkg index 0408a29..3da49b9 100755 --- a/openembedded/scripts/mauve-test-pkg +++ b/openembedded/scripts/mauve-test-pkg @@ -34,9 +34,11 @@ function generate_exclude_list() { echo "${excludes}" } -basedir=$(dirname $0) +script=$(readlink -f $0) +scriptpath=$(dirname $script) java_pkg=$1; shift -blacklist_file="$basedir/../mauve/blacklist.d/${java_pkg}" +java_pkg=${java_pkg//\//.} +blacklist_file="$scriptpath/../mauve/blacklist.d/${java_pkg}" javavm=$(which java) if [[ -z "$javavm" ]]; then |