From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A9CB742E42; Tue, 11 Jul 2023 09:17:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CF5C40A7D; Tue, 11 Jul 2023 09:17:29 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2050.outbound.protection.outlook.com [40.107.212.50]) by mails.dpdk.org (Postfix) with ESMTP id 5E5E34003C for ; Tue, 11 Jul 2023 09:17:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U7d4eVupP/Hx4nDpLrmk+6rIoJCHrKe8a2tg2oA8VnidPLxRS710MGrV78QM/1cKOlcTQiiReZHe4KIC3GjVLuHGYTWtG8EVENyj5fdYfGdm3F+GIluFLlA2egWp1CikwZ050sQ0wl6WgdNoWafPRA5rIKfKye7NyaP9PnznhlHpF/WHBPOSie/hrDaZv5rAPiIrw0eUuVGQhK6CoMEIMdWn3wRXx5VyRMeES/vUqTzSVRKCz4IIi+EdgXJTtbpmvSB2GBd2f23TBUHGlwBd5Ipp6Sfmg7q59O/kNiScaHAubeD/eZCDqNDntWpbOpsvHe84q9NFVspZFv7SRX+AIw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MQTxXH5E1s4+9YIq/yp4AULj4QcF4vc3rzjcQmP4j0c=; b=JDGBN4l5oM32MuuN52gqOdm6P39YbraxuX2IhYjAcPJla6TaGTyvU//nXU1Z8KKeHIM+Xo7FCE7voRRIdgQBh6PXyVRLle54oO+CQj0qsMPIfCMhKnPHCHhqBJI2HeJvqLl9nwvobV2s6Eou/MlbQNyL/5rlrWo8VEASTNxp1y5IyFDXFTW/RTD3a6efhQ6G6ht4Ypb7NJ04gEVBzlt4OJKKZPwRq5LM/OD/eNS0TzVm+E9AwGSRrXGj/MO390YLhceSil3P6L7AysJRv9JbKg5oJvO4C3qykCfhtFOG6eCMqRhWQSZDTNf5ecR1kth7ITvbKB9ZoURseYEXtiL7Uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MQTxXH5E1s4+9YIq/yp4AULj4QcF4vc3rzjcQmP4j0c=; b=OvMSOLkiCr4qk63NwxIOz+rpMqVBmIPz10zdkWimoHmQrfa+rsuO6On8ad0RvkIMtE+ia477u4vvJy6cJsfwCgixKQzJ06XhrLsebY0VkV+BCsMuc8rJzJ1ga0r2Rw/4k6gG868jAanOivgmT8v3M3fjui+gJ1fujTvuZOyGezxNnBkjcvd6qNp0PE8Mj2hh+T3dsyw2UCxj9/fVMyM1ogWa1K+PguWO7L8Wf3tUTchjhUpsZmQTg0tPzTCXhnKYLvRJrY77THbie0OceyrJO9CX5ORimhSkNOxR0uVGrxN5GeeIrVPE4bj4oG4bOwIRkm/BVEnJbhs/nzjyQkv4XA== Received: from BN1PR13CA0024.namprd13.prod.outlook.com (2603:10b6:408:e2::29) by DM6PR12MB4484.namprd12.prod.outlook.com (2603:10b6:5:28f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.31; Tue, 11 Jul 2023 07:17:25 +0000 Received: from BN8NAM11FT110.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e2:cafe::3b) by BN1PR13CA0024.outlook.office365.com (2603:10b6:408:e2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.20 via Frontend Transport; Tue, 11 Jul 2023 07:17:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT110.mail.protection.outlook.com (10.13.176.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.19 via Frontend Transport; Tue, 11 Jul 2023 07:17:24 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Tue, 11 Jul 2023 00:17:13 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Tue, 11 Jul 2023 00:17:11 -0700 From: Raslan Darawsheh To: CC: Subject: [PATCH] devtools: fix bad substitution Date: Tue, 11 Jul 2023 10:16:19 +0300 Message-ID: <20230711071619.26797-1-rasland@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT110:EE_|DM6PR12MB4484:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b132fc4-6ece-4e8a-4f99-08db81dee058 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YXOMm/IUMqVdy7qaYhe/CfNlRSbZgjaEGI8VehKLwYdOJGR2Px9qWF90sGJrQxJdOA99ngoMjhN98x7OR5896YGwqO7wzL3LMhXlg17q/zYIsdZlYuVBwst7S2uPMDxKL36EdIhIeuOi6+IfVOlDhf+TKfSY75PASIukpFBmLZDxOmO9XFnXKCbDMi94bOEFeaY4u1p1TJMWU76Op2kGhC4O0NKceK4MHErEKzPvc7LZS2f4ewPjNjoixPbvTvEBzRHcO2ZwHm6TZR8JdnWbYkQlnz1thIgjrSblvLf2zHx74kvOwpLeeXEffUTvXl6aqxSjeHMks3DCyT4IeljkzGAJJF5DMMZaVe3hAS0NcJImx22iLUaOoXfz/q+ZDM6hwLtir64DCDHrkpPz3KWuxZgiLDjUks1J1ys3R1eo8cjPIbLg7/C6qqd9gcQR3ZxBPOQzhbWSmEmzULIjyOKfNQ4jC9RfA3en3ErKZ/QPyNAXy/6LOqzitTheTtzMKWvo9vZV1KlTUHZ7nBhftyLuBbXBlooXHF5LTaNd5UnoRVkWb/q7UdXPoWW0y+Xhwjcsbc1lDR/aDHOiTnhulHKQiMRg8lNoHgisvnfp+MuLDGSRQJxqUJHXky2VSqb+YiFbSnjnLjHyMM+s9LvLN2dbVRkcOgu57QlS3l5lPSmcjoxLRNdeEYZMyh6RoPC47K70l8cWakEeYS9h8lqjGncFNniBXKhZ9pzykVLQFcVegqyezxKwHH7SPdL1sQrdgSIM X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(136003)(396003)(376002)(39860400002)(346002)(451199021)(36840700001)(46966006)(40470700004)(36860700001)(82310400005)(36756003)(86362001)(40480700001)(55016003)(40460700003)(7636003)(356005)(82740400003)(478600001)(41300700001)(7696005)(8676002)(8936002)(5660300002)(2906002)(316002)(4326008)(6916009)(70206006)(70586007)(4744005)(2616005)(426003)(336012)(1076003)(26005)(47076005)(16526019)(186003)(83380400001)(6286002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2023 07:17:24.7632 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b132fc4-6ece-4e8a-4f99-08db81dee058 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT110.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4484 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When running check-git-log, it showed a Bad substitution. It is fixed by using tr to escape the open parenthesis. Fixes: 6fd14c1b58e6 ("devtools: fix mailmap check for parentheses") Cc: thomas@monjalon.net Suggested-by: Thomas Monjalon Signed-off-by: Raslan Darawsheh --- devtools/check-git-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 89544a2cc5..5c869b7683 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -264,7 +264,7 @@ names=$(git log --format='From: %an <%ae>%n%b' --reverse $range | sed -rn 's,.*: (.*<.*@.*>),\1,p' | sort -u) bad=$(for contributor in $names ; do - contributor=${contributor//(/\\(} + contributor=$(echo $contributor | tr '(' '\\(') ! grep -qE "^$contributor($| <)" $selfdir/../.mailmap || continue name=${contributor%% <*} if grep -q "^$name <" $selfdir/../.mailmap ; then -- 2.25.1