From: Fabian Groffen Date: Sun, 24 Oct 2010 12:44:50 +0000 (+0200) Subject: use bash replacement instead of a call to tr X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fda49e852ffa1a4e2d160db3f9b6eecfb6ef23de;p=portage.git use bash replacement instead of a call to tr --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index ae2754129..2396c1a49 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -916,7 +916,7 @@ install_qa_check_macho() { # this is ugly, paths with spaces won't work reevaluate=0 - for lib in $(echo ${needed} | tr , ' '); do + for lib in ${needed//,/ } ; do if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && *${lib} != "@loader_path/"* ]] ; then # try to "repair" this if possible, happens because of # gen_usr_ldscript tactics