Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:prefix commit in: bin/
Date: Tue, 30 Sep 2014 16:04:11
Message-Id: 1412093035.ef2636dbec8a3abb59646859ef28b07e6c3dd832.grobian@gentoo
1 commit: ef2636dbec8a3abb59646859ef28b07e6c3dd832
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 30 16:03:55 2014 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 30 16:03:55 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ef2636db
7
8 install_qa_check_macho: fix syntax
9
10 ---
11 bin/misc-functions.sh | 8 ++++----
12 1 file changed, 4 insertions(+), 4 deletions(-)
13
14 diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
15 index 1904c25..fb874ac 100644
16 --- a/bin/misc-functions.sh
17 +++ b/bin/misc-functions.sh
18 @@ -372,20 +372,20 @@ install_qa_check_macho() {
19 # remember we are in an implicit subshell, that's
20 # why we touch a file here ... ideally we should be
21 # able to die correctly/nicely here
22 - [[ -z ${ignore} && touch "${T}"/.install_name_check_failed
23 + [[ -z ${ignore} ]] && touch "${T}"/.install_name_check_failed
24 fi
25
26 # this is ugly, paths with spaces won't work
27 for lib in ${needed//,/ } ; do
28 if [[ ${lib} == ${D}* ]] ; then
29 eqawarn "QA Notice: install_name references \${D}: ${lib} in ${obj}"
30 - [[ -z ${ignore} && touch "${T}"/.install_name_check_failed
31 + [[ -z ${ignore} ]] && touch "${T}"/.install_name_check_failed
32 elif [[ ${lib} == ${S}* ]] ; then
33 eqawarn "QA Notice: install_name references \${S}: ${lib} in ${obj}"
34 - [[ -z ${ignore} && touch "${T}"/.install_name_check_failed
35 + [[ -z ${ignore} ]] && touch "${T}"/.install_name_check_failed
36 elif ! install_name_is_relative ${lib} && [[ ! -e ${lib} && ! -e ${D}${lib} ]] ; then
37 eqawarn "QA Notice: invalid reference to ${lib} in ${obj}"
38 - [[ -z ${ignore} && touch "${T}"/.install_name_check_failed
39 + [[ -z ${ignore} ]] && touch "${T}"/.install_name_check_failed
40 fi
41 done