From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4BDDC3857702 for ; Wed, 6 Sep 2023 11:00:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4BDDC3857702 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org References: <20230906095747.25772-1-yangyujie@loongson.cn> User-agent: mu4e 1.10.6; emacs 30.0.50 From: Sam James To: Yang Yujie Cc: panchenghui@loongson.cn, richard.sandiford@arm.com, xuchenghua@loongson.cn, chenglulu@loongson.cn, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] LoongArch: Fix unintentional bash-ism in r14-3665. Date: Wed, 06 Sep 2023 12:00:29 +0100 Organization: Gentoo In-reply-to: <20230906095747.25772-1-yangyujie@loongson.cn> Message-ID: <87fs3rpnvw.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Yang Yujie writes: > gcc/ChangeLog: > > * config.gcc: remove non-POSIX syntax "<<<". > --- Thanks, I was just about to report this. > gcc/config.gcc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config.gcc b/gcc/config.gcc > index b2fe7c7ceef..6d4c8becd28 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -5189,7 +5189,7 @@ case "${target}" in > if test x${parse_state} = x"abi-base"; then > # Base ABI type > case ${component} in > - lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(tr a-z A-Z <<< ${component}),";; > + lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(echo ${component} | tr a-z A-Z),";; > *) > echo "Unknown base ABI \"${component}\" in --with-multilib-list." 1>&2 > exit 1