From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.48]) by mx.groups.io with SMTP id smtpd.web10.17730.1599149419921821606 for ; Thu, 03 Sep 2020 09:10:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=T5LzPG4K; spf=pass (domain: arm.com, ip: 40.107.21.48, mailfrom: samer.el-haj-mahmoud@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QT8gTU0uqZWh6zgiWBTRG9CJUAkNpXor59n7EUro3lE=; b=T5LzPG4KVCPP1JNNnpKbTGGHG6dg+EGiZLF1I0yzmbgC93Wl3PBfE2C+l4qzRYkDrK6GuM71fhclYxQ8ftJwwvEPfi9Ns5NjRjcHYIN9GeP9IcF4znBTxUg1CVrhmAl3rVfmtBtM7pqFjCanDgUl235FSgbOmivcQpcLIFtODek= Received: from AM5PR0402CA0006.eurprd04.prod.outlook.com (2603:10a6:203:90::16) by AM5PR0801MB1780.eurprd08.prod.outlook.com (2603:10a6:203:39::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Thu, 3 Sep 2020 16:10:17 +0000 Received: from AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:90:cafe::25) by AM5PR0402CA0006.outlook.office365.com (2603:10a6:203:90::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Thu, 3 Sep 2020 16:10:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT018.mail.protection.outlook.com (10.152.16.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 3 Sep 2020 16:10:16 +0000 Received: ("Tessian outbound bac899b43a54:v64"); Thu, 03 Sep 2020 16:10:16 +0000 X-CR-MTA-TID: 64aa7808 Received: from 14ceba2583ae.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E56DD09B-5694-4F23-89B5-8A648E172D7D.1; Thu, 03 Sep 2020 16:10:11 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 14ceba2583ae.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 03 Sep 2020 16:10:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aGZDIgLsS80oOAKO2dUlwwqMaFeKVBDqs2xZ8ovfDUa9Kwl4lUcznPr6RRrtt+wlTu0Fz/Gm05nh5+pFApiIQDHPgG/fpLrPQpjSfkRf5rUrJJRj3LVQSXVHUWAqz4dNLWePf67GtV9kOrIXnn2jAV5RgG30yDFY3semh2LOV1KBeuOZXLxHt3ZsM1O4teOCHuGb5gQKRA4ePT6HaGPGkcoEOPAfbK6sua1C1vB67DBx6j7+XRXC7CVIK1eSshbu9QZR5YM6ius4/yeAYjgobEFK/wIq+0aFJKA/VReUnN3WrwRzbnkYcKaQG56e4SW7BVUjrrfpmMi8aJOO7rFctw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QT8gTU0uqZWh6zgiWBTRG9CJUAkNpXor59n7EUro3lE=; b=QHkW1VknavsXtFV6qcE/SNe7+/12CZ5RqIAh98d89mMAS/Id5ierVLbK/aWP7uuykQOYq0QwT7OQslVbCqoG2QbpWl7tu3eaaQLkL0eXMAADCXOpFgfkx+L2HK5JQd27z1t1C+YKTHLrDz9ska9h9tU0lzr+ZoSI0Ev5KA3ZGlwtwNO0dWr5YjiOW48uCqSUPRCznvP3wMBFUu1PNoa3wUZ0aiVek11KFncGtR8uK9sJnA6as8p3lxVeubRlaMhawjc3UZOxf0pUAHNC5b1LO68c5OS3dg7hxwwH7zVl2ZAEtyMgnArTQNQ/wkRNoflCvH8wCUwpxYfF1eZwKG1kaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QT8gTU0uqZWh6zgiWBTRG9CJUAkNpXor59n7EUro3lE=; b=T5LzPG4KVCPP1JNNnpKbTGGHG6dg+EGiZLF1I0yzmbgC93Wl3PBfE2C+l4qzRYkDrK6GuM71fhclYxQ8ftJwwvEPfi9Ns5NjRjcHYIN9GeP9IcF4znBTxUg1CVrhmAl3rVfmtBtM7pqFjCanDgUl235FSgbOmivcQpcLIFtODek= Received: from DB7PR08MB3260.eurprd08.prod.outlook.com (2603:10a6:5:21::23) by DB6PR0801MB1653.eurprd08.prod.outlook.com (2603:10a6:4:3b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Thu, 3 Sep 2020 16:10:10 +0000 Received: from DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::2c56:d598:ede:dd52]) by DB7PR08MB3260.eurprd08.prod.outlook.com ([fe80::2c56:d598:ede:dd52%6]) with mapi id 15.20.3326.025; Thu, 3 Sep 2020 16:10:10 +0000 From: "Samer El-Haj-Mahmoud" To: Joseph Hemann , "devel@edk2.groups.io" CC: G Edhaya Chandran , Eric Jin , Irene Park , Heinrich Schuchardt , Samer El-Haj-Mahmoud Subject: Re: [PATCH v1 1/1] uefi-sct/SctPkg: Changed gcc version to be integer Thread-Topic: [PATCH v1 1/1] uefi-sct/SctPkg: Changed gcc version to be integer Thread-Index: AQHWe/JcfjbdMJkziUy9Ww0s5Y2dXqlXISNg Date: Thu, 3 Sep 2020 16:10:09 +0000 Message-ID: References: <20200826214603.11530-1-joseph.hemann@arm.com> In-Reply-To: <20200826214603.11530-1-joseph.hemann@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 73F32A2814CDCE439F075B95A6ACD892.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 457c7c23-50d5-4af6-a61e-08d85023d909 x-ms-traffictypediagnostic: DB6PR0801MB1653:|AM5PR0801MB1780: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:2331;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: JaLdvTIzpwqu7W2r9iEnYAFT/g92kgaUy7lTb36sokFYhQ8GcYVOttqhhH/nypcCt25RuxApCkrrLnX6SE8X4Upz6clCxa+rUEGbVNJ/Sv/Gy5dq9dW4f4xEjDOqfMbqyf+DSE4yPI0qtx+9t6FjUC1523dCrXL9IAT6ffHfswKEtEo/hQ1595yPqVvZeNeBJR+3noT+IIJpuqWH2rYq9LQfpak+IwRl5jqmBUhatURUW1U96kgCqIRZlBN1JxCxUOWd2pKbHi4kDzTSXEhaZQXoKNn5r7WAGS9/piQnRUlL2UUPThiL+2wY6CmJSY63KkZe8fU3rHDhRIH9g4LhyQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3260.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(366004)(376002)(346002)(396003)(136003)(66446008)(316002)(55016002)(66556008)(66476007)(186003)(66946007)(33656002)(64756008)(83380400001)(86362001)(4326008)(2906002)(53546011)(76116006)(54906003)(110136005)(9686003)(5660300002)(8936002)(7696005)(71200400001)(6506007)(52536014)(8676002)(26005)(478600001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: TvSd4HG9Ptf4dk4QNMpxiX0IghmqmRO6p+5gTaNcUll0wvotFc5/nIZL9ngiKbwmbu+fx3qnM5IVqcPYOpqKJwXa/KcwE6Q2p5gwU972nhBz4gzGHR/Ip5qUVAJUT0esMG9YJOi0YX/mnwkAQ854mQ1e66P1O/0Ep9RoNy9PS1W9R3KOy7PX9mr1lgDEYAsPync1iWr0ybS51qZevu6qFlUJq1Xgwn0HG/AC+pfHFa0QY0RfnyXQjxTeiLdxwnd2GGxS5OyESeIOJ5EkdIxFs1yqmYuPD4x650D9a1PqNehSxqUA63VaP1s0Cohs+zMdH2sj9trZ//3i1TcaGrseP4MnbnfZYB7O2gK9Qb8Gn1sGY9zqdoY7lh2ZvhH0QbSC4RC2+G49adGM7IqmaQS4VwjTq2bTcmgqOiXUhcdcKzMd2legkQLcHpUkOK0uGIfN72MWn5sxvMkqXkhgChyU5MeCLlxIwUasmiI9GvK26R8Lqs3SKkNZtSCOW6Sl2uY076tm2iuqC9xs639NAQ6twU/Y9Pr7I9NwjccaCFiQI60BCDG3Ptr68IVC2sWwzS1dtxR9lNsGNfApVY4vepNJVcFQlaoQMv3659rSyxDWRuTEq7osHCwIl5IOlNUqofRszqE9xT6i7uQgmPXZD2eWJA== MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1653 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8c00ef76-c944-40df-e00c-08d85023d4f8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qTFTac8mSctPH9t4ST0iwVYRIByEMGqDjJRcbCwprzW5enJWtjABQXoY9PCKSvkrqBBXmoEUw+2CCxh+2qwjtv62IbpjKM+rJPsvNRGkfr5+mKaE3E6EMMqYxE/whCcpHaI/M5vFUvtDG3iSzST5eGoely64SaDMAwhF0x7jOb8/SFjjxcTke1LKzH/oVO31DKj1ZmyAeVvUNKRRXIc2EjV567dTZQmYcP1gxW9Pft4FQ3IYxPfMUliX1XYDMn/Lg2bTkfcxJDkP2crq4M+tlpfs4ioAIGeeICqLJiKh/ZUkWaamN6NzKWapUpZtiivdIoERV8x858dLls12TPMUYj0LThEpvLwcnOH0jtR5q6uCPu8+8x+V8QA9OxisoUjdzz5mLOtX1QJ+0dB4yiZ0Ag== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(39860400002)(396003)(376002)(346002)(136003)(46966005)(7696005)(47076004)(356005)(186003)(6506007)(53546011)(55016002)(9686003)(70206006)(110136005)(81166007)(54906003)(33656002)(86362001)(70586007)(4326008)(2906002)(316002)(8676002)(5660300002)(36906005)(336012)(52536014)(83380400001)(26005)(82310400003)(82740400003)(478600001)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2020 16:10:16.7741 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 457c7c23-50d5-4af6-a61e-08d85023d909 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1780 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Samer El-Haj-Mahmoud > -----Original Message----- > From: Joseph Hemann > Sent: Wednesday, August 26, 2020 5:46 PM > To: devel@edk2.groups.io > Cc: G Edhaya Chandran ; Eric Jin > ; Irene Park ; Heinrich Schuchardt > ; Samer El-Haj-Mahmoud Mahmoud@arm.com> > Subject: [PATCH v1 1/1] uefi-sct/SctPkg: Changed gcc version to be intege= r > > gcc_version returned by compiler is a string, and needs to be converted t= o a > integer before testing > > Cc: G Edhaya Chandran > Cc: Eric Jin > Cc: Irene Park > Cc: Heinrich Schuchardt > Cc: Samer El-Haj-Mahmoud > Signed-off-by: Joseph Hemann > Change-Id: I24f3f52c12660928b58e6f836fdef86890688d26 > --- > uefi-sct/SctPkg/build.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index > d0c7f16e172c..cad17ccdedc7 100755 > --- a/uefi-sct/SctPkg/build.sh > +++ b/uefi-sct/SctPkg/build.sh > @@ -56,8 +56,8 @@ function get_gcc_version { > gcc_version=3D$($1 -dumpversion) > > - if [ "$gcc_version" -gt "5" ]; then > - gcc_version=3D"5" > + if [ ${gcc_version%%.*} -gt 5 ]; then > + gcc_version=3D5 > fi > > case $gcc_version in > -- > 2.17.1 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.