diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2013-01-17 18:16:30 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2013-01-17 18:16:30 +0000 |
commit | ec9dc3d488aa95ff9ec7fc25d7daec4f26bb5a3e (patch) | |
tree | ee80be5fcd3a86c6c4dcb314ae42959fa1cc8626 /src | |
parent | Reformat to look like other eselect modules in this day and age (diff) | |
download | eselect-java-ec9dc3d488aa95ff9ec7fc25d7daec4f26bb5a3e.tar.gz eselect-java-ec9dc3d488aa95ff9ec7fc25d7daec4f26bb5a3e.tar.bz2 eselect-java-ec9dc3d488aa95ff9ec7fc25d7daec4f26bb5a3e.zip |
Drop useless use of local variable
svn path=/projects/eselect-java/trunk/; revision=9150
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/java-nsplugin.eselect.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/java-nsplugin.eselect.in b/src/modules/java-nsplugin.eselect.in index 2404d97..a2bbf2e 100644 --- a/src/modules/java-nsplugin.eselect.in +++ b/src/modules/java-nsplugin.eselect.in @@ -26,19 +26,17 @@ get_targets() { for plugin in $(ls ${PLUGINS_HOME}/*-javaplugin.so 2>/dev/null); do local vm=$(plugin_to_vm ${plugin}) - local matches="" case ${MULTILIB_MODE} in 32) - [[ ${vm} = emul-linux-* ]] && matches="true" + [[ ${vm} = emul-linux-* ]] && echo ${vm} ;; 64) - [[ ${vm} != emul-linux-* ]] && matches="true" + [[ ${vm} != emul-linux-* ]] && echo ${vm} ;; none) - matches="true" + echo ${vm} ;; esac - [[ ${matches} == "true" ]] && echo ${vm} done } |