commit: 2b86807c81dfa118508408931c8cf9627d770c31 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu May 21 22:14:26 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu May 21 22:14:26 2020 +0000 URL: https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=2b86807c
src/binutils-config: unbreak AND syntax for [[ ]] Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> src/binutils-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/binutils-config b/src/binutils-config index e6819a8..fdee7df 100755 --- a/src/binutils-config +++ b/src/binutils-config @@ -130,7 +130,7 @@ switch_profile() { for x in * ; do atomic_ln "${BINPATH}/${x}" "${ROOT}/${BINPATH_LINKS}" "${x}" atomic_ln "${BINPATH_LINKS}/${x}" "${EROOT}/usr/bin" "${TARGET}-${x}" - if [[ ${TARGET} == ${HOST} -a ${USE_NATIVE_LINKS} == yes ]] ; then + if [[ ${TARGET} == ${HOST} && ${USE_NATIVE_LINKS} == yes ]] ; then atomic_ln "${TARGET}-${x}" "${EROOT}/usr/bin" "${x}" else # Remove native links if exist from previous