From 2b86807c81dfa118508408931c8cf9627d770c31 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 21 May 2020 23:14:26 +0100 Subject: src/binutils-config: unbreak AND syntax for [[ ]] Signed-off-by: Sergei Trofimovich --- 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 -- cgit v1.2.3-65-gdbad