[edk2-devel] 回复: [PATCH edk2-test 1/1] SctPkg: remove CR in uefi-sct/SctPkg/build.sh

Gao Jie posted 1 patch 3 years, 1 month ago
Failed in applying to current master (apply log)
uefi-sct/SctPkg/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2-devel] 回复: [PATCH edk2-test 1/1] SctPkg: remove CR in uefi-sct/SctPkg/build.sh
Posted by Gao Jie 3 years, 1 month ago
Reviewed-by: Barton Gao <gaojie@byosoft.com.cn>

Thanks
Barton

-----邮件原件-----
发件人: Heinrich Schuchardt <xypron.glpk@gmx.de> 
发送时间: 2021年2月26日 20:40
收件人: EDK II Development <devel@edk2.groups.io>
抄送: Eric Jin <eric.jin@intel.com>; G Edhaya Chandran <Edhaya.Chandran@arm.
com>; Barton Gao <gaojie@byosoft.com.cn>; Arvin Chen
<arvinx.chen@intel.com>; Samer El-Haj-Mahmoud
<Samer.El-Haj-Mahmoud@arm.com>; Heinrich Schuchardt <xypron.glpk@gmx.de>
主题: [PATCH edk2-test 1/1] SctPkg: remove CR in uefi-sct/SctPkg/build.sh

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3239

A superfluous carriage return leads to an error:

uefi-sct/SctPkg/build.sh: line 61:
syntax error near unexpected token `fi'
uefi-sct/SctPkg/build.sh: line 61:
`    fi'

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 uefi-sct/SctPkg/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index
2efc5535b8fc..de7a10034e3d 100755
--- a/uefi-sct/SctPkg/build.sh
+++ b/uefi-sct/SctPkg/build.sh
@@ -56,7 +56,7 @@ function get_gcc_version  {
 	gcc_version=$($1 -dumpversion)

-	if [ ${gcc_version%%.*} -ge 5 ]; then
+	if [ ${gcc_version%%.*} -ge 5 ]; then
 		gcc_version=5
 	fi

--
2.30.0





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#72253): https://edk2.groups.io/g/devel/message/72253
Mute This Topic: https://groups.io/mt/80987087/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-