Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/binutils-config:master commit in: src/
Date: Thu, 21 May 2020 22:14:59
Message-Id: 1590099266.2b86807c81dfa118508408931c8cf9627d770c31.slyfox@gentoo
1 commit: 2b86807c81dfa118508408931c8cf9627d770c31
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 22:14:26 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 22:14:26 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=2b86807c
7
8 src/binutils-config: unbreak AND syntax for [[ ]]
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 src/binutils-config | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/src/binutils-config b/src/binutils-config
16 index e6819a8..fdee7df 100755
17 --- a/src/binutils-config
18 +++ b/src/binutils-config
19 @@ -130,7 +130,7 @@ switch_profile() {
20 for x in * ; do
21 atomic_ln "${BINPATH}/${x}" "${ROOT}/${BINPATH_LINKS}" "${x}"
22 atomic_ln "${BINPATH_LINKS}/${x}" "${EROOT}/usr/bin" "${TARGET}-${x}"
23 - if [[ ${TARGET} == ${HOST} -a ${USE_NATIVE_LINKS} == yes ]] ; then
24 + if [[ ${TARGET} == ${HOST} && ${USE_NATIVE_LINKS} == yes ]] ; then
25 atomic_ln "${TARGET}-${x}" "${EROOT}/usr/bin" "${x}"
26 else
27 # Remove native links if exist from previous