From ec9dc3d488aa95ff9ec7fc25d7daec4f26bb5a3e Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Thu, 17 Jan 2013 18:16:30 +0000 Subject: Drop useless use of local variable svn path=/projects/eselect-java/trunk/; revision=9150 --- src/modules/java-nsplugin.eselect.in | 8 +++----- 1 file 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 } -- cgit v1.2.3-65-gdbad