commit:     ef2636dbec8a3abb59646859ef28b07e6c3dd832
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 30 16:03:55 2014 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 16:03:55 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ef2636db

install_qa_check_macho: fix syntax

---
 bin/misc-functions.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 1904c25..fb874ac 100644
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -372,20 +372,20 @@ install_qa_check_macho() {
                        # remember we are in an implicit subshell, that's
                        # why we touch a file here ... ideally we should be
                        # able to die correctly/nicely here
-                       [[ -z ${ignore} && touch 
"${T}"/.install_name_check_failed
+                       [[ -z ${ignore} ]] && touch 
"${T}"/.install_name_check_failed
                fi
 
                # this is ugly, paths with spaces won't work
                for lib in ${needed//,/ } ; do
                        if [[ ${lib} == ${D}* ]] ; then
                                eqawarn "QA Notice: install_name references 
\${D}: ${lib} in ${obj}"
-                               [[ -z ${ignore} && touch 
"${T}"/.install_name_check_failed
+                               [[ -z ${ignore} ]] && touch 
"${T}"/.install_name_check_failed
                        elif [[ ${lib} == ${S}* ]] ; then
                                eqawarn "QA Notice: install_name references 
\${S}: ${lib} in ${obj}"
-                               [[ -z ${ignore} && touch 
"${T}"/.install_name_check_failed
+                               [[ -z ${ignore} ]] && touch 
"${T}"/.install_name_check_failed
                        elif ! install_name_is_relative ${lib} && [[ ! -e 
${lib} && ! -e ${D}${lib} ]] ; then
                                eqawarn "QA Notice: invalid reference to ${lib} 
in ${obj}"
-                               [[ -z ${ignore} && touch 
"${T}"/.install_name_check_failed
+                               [[ -z ${ignore} ]] && touch 
"${T}"/.install_name_check_failed
                        fi
                done
 

Reply via email to