From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0073.outbound.protection.outlook.com [104.47.0.73]) by dpdk.org (Postfix) with ESMTP id 61FD57CEE for ; Wed, 18 Apr 2018 14:22:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coriant.onmicrosoft.com; s=selector1-coriant-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RrMMlUNHwOYE/nm7RdHmCfrEQ8aOGG06PngOJ0hZ8RU=; b=YfmuFJAZLQkcOEPbM6AU/tPHs7Nh5M65/hGMTQKPFJZ/xgYs7zDJrMse9ec5qnsswYf1NQQePOhuWH03YSbMDF2zdKz47t2arpP8AsG5Tj9Y3hn+L4j5xN/ICFhvOLLyLPIb2ImPXHNoltThBO4FV/F9VYpnTu/eFUG+BWoxVuE= Received: from HE1PR0402CA0014.eurprd04.prod.outlook.com (2603:10a6:3:d0::24) by AM0PR04MB4292.eurprd04.prod.outlook.com (2603:10a6:208:67::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Wed, 18 Apr 2018 12:22:07 +0000 Received: from VE1EUR02FT033.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e06::201) by HE1PR0402CA0014.outlook.office365.com (2603:10a6:3:d0::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Wed, 18 Apr 2018 12:22:06 +0000 Authentication-Results: spf=pass (sender IP is 204.154.131.209) smtp.mailfrom=coriant.com; coriant.com; dkim=none (message not signed) header.d=none;coriant.com; dmarc=bestguesspass action=none header.from=coriant.com; Received-SPF: Pass (protection.outlook.com: domain of coriant.com designates 204.154.131.209 as permitted sender) receiver=protection.outlook.com; client-ip=204.154.131.209; helo=usnapvlsmtp01.coriant.com; Received: from usnapvlsmtp01.coriant.com (204.154.131.209) by VE1EUR02FT033.mail.protection.outlook.com (10.152.12.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.675.14 via Frontend Transport; Wed, 18 Apr 2018 12:22:05 +0000 Received: from fies1uas61.tellabs.fi (unknown [172.23.229.177]) by usnapvlsmtp01.coriant.com (Postfix) with ESMTP id A434F401FE; Wed, 18 Apr 2018 07:22:02 -0500 (CDT) From: Juhamatti Kuusisaari To: CC: , Juhamatti Kuusisaari Date: Wed, 18 Apr 2018 15:21:56 +0300 Message-ID: <1524054116-41787-1-git-send-email-juhamatti.kuusisaari@coriant.com> X-Mailer: git-send-email 2.8.1 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:204.154.131.209; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(396003)(39380400002)(376002)(346002)(2980300002)(438002)(189003)(199004)(9170700003)(305945005)(77096007)(106466001)(50466002)(4326008)(426003)(126002)(48376002)(486006)(59450400001)(2616005)(72206003)(2906002)(86362001)(478600001)(26005)(97736004)(336012)(316002)(47776003)(5660300001)(476003)(16586007)(1857600001)(106002)(356003)(6666003)(51416003)(53936002)(36756003)(54906003)(6266002)(6916009)(50226002)(81166006)(8676002)(107886003)(8936002)(104016004)(53416004)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4292; H:usnapvlsmtp01.coriant.com; FPR:; SPF:Pass; LANG:en; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR02FT033; 1:aMW/IxD9ysi3C2/Q540MyO8EMaT6E5Y0zspa5INSWnrKH44Fmis64Q1ARsviz8r3ky9FcW0nc8XITwhb2dWSTIFhQcvrpXrXU9VezrmbNBMjCcI0qDbGQu0XXuHPg+mX MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(2017052603328)(7153060); SRVR:AM0PR04MB4292; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4292; 3:oX4+b39C24XI3xM49v2wOavUGUq4ceUSX2D04I/uJ2XdjTT4o59QDHK1M+uDX2RoFK+qUjCdTcj9xtWNQh4Tg73KoQZzehkrTDvFQhhswnxHdQIUvi0ezLlMKiPPSeq6uOsn+l9IOZ1hLdNg3Tw1l78a5GKxB6Rmu9wPf0aIVOympxYLogYrC9DMYDhX773N1gS8pMDvVF5EM/8KArr4fZgl1sxUiJUxnFlohQQBm6mAZ6D11Ae4kGK5hjsbvK6YrVSkVMDkwvnTwgJF/teclgMu+OojhYnPtfedV8j71O7pA1JkITV6DpwnxFCHh3AZrq/Hm61uUj+4T3hygpxSTMzAQbQN6vkCNa2x/11VWh4=; 25:2Wvm+mrcsLbXU3A1RkSUv6bwFyMm2Q1HqAuI9hqEqaIb/U1RTEuDd24XswjQnwoW8I4Lzp8pfDOprVtLyCHj/E/VhSPjjJc3ZDqNd7JlmKWzvt9Nhkkyiz/QhaQWwiJcaDAY9dkRh8QUWxPZKyWG3CgtJyArpalxVUsm9V7bqnVZywSKAiiFRczo3sZq3s2FK5IF2MIQM0wuwnnrsUjYWniC6qWlHu6hFRKmkQQz5tp7FViN5Wi+dEV7xA7Tunxvz/vqv2517WF/J5F6B6KoIytSMM3t5WYleSL07zzly//PQWuUtEua4opOcklzLODQQlW9VPv/2+AA6C7iEvwfmg== X-MS-TrafficTypeDiagnostic: AM0PR04MB4292: X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4292; 31:l4A7CWr6CvhfimCi7olBshkNXJp5UqeDonfaFp0EnGGEDcrK8r5jk1q2sVMje1AA5atsVI+PUeOV9WQdX+0t7FfmaVAII7KXb4v0O3fmxFN19RuZUIzCJlFNk1bORrxqsjcSLisTBGSOK4X9dRyYVUiuAY07D2lOfU3+xRPrUQKsGjW9WsbM+TasEz+SXh+LrBZDx2yfDOcSAl3msM48wZR8kVPAsKvvtu4lxP+MdC0=; 20:q9AQu3SLzz8FLl7WVcGqf9xqLAyg2OfpWO9PlOE+OxERPp8+b4j+Vw0Uvj4V/2MQjwiJwY5BY5VRDR9cB5UgoDE5V/AA/UAGPMmnSOa1hn7qizGpFWln2bnXffK9gN+O3Kng2wWm3ZYv1Irj45+pRMle060DpgD7s4hu19WFXzwg+ORITp3AV/u1wmdV4LYi8RDp1yHsExxFuwoeld9TUaQkg1i9Fzemv+KnMLoljlc2tBNOS9TO/0NLyCnEYaQex5FTNOr/Ahr4FtARVjQOCR+3Q48q/xwAwht/DGg7lBAH+q9C1JyxNHhynqXZI+wksowmPfchraAJQ5T7yIt2RijJ1zqqeYPgk5mgmZfxXdyLGCx1AM9TuWu0IAzNQCiyNdkgMKze0wL7LS0+M+yPgbvlHBRVu7xgZOEhnrF0bXyE1rP5RPkHiwu8xbZcKokyhnh8JskyZd8lMRoMMkhF7Is0GTJ+h82bKsh/9ZMH5e9ompACt2MpzE2aPMhNh2WqafEle1WiloCV6izF7P8WBo242qUeCLFtFhiR0+GRsy/1A3Yenb0qjM1t/6is/Lg/bhU/bczqRu0Z4NEtrxQj8fbzRRkhX4su2lhQ1g+mqcA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(51653755401839); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231232)(944501327)(52105095)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM0PR04MB4292; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4292; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4292; 4:pJHZpdK1BX+Q/OP10vCC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E9apoamRFXdTYJvsiUTIy9/2GwaEAr0I49u4OCndh/Ixm9t69YRwe0hXlrGP8877IbrCcwkwAmq5GvhU2biZF7nPqGW5PkkPdSbcE7/x1xnS7yWv6eVv4= X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4292; 6:NpYkQJRoZNejppSV10OeuHywrCS8DnAasWH8rjruGHs+UwwOyfc/G/4mehK4hyFdh9AeJue4iYRWwrxPh7pHR+MvoY1cfHTeTjM3IhXSs2INn+WILm7BByucF5N4HDRiIKhGPRCP6yc6Nk02kx6Am7cDWbNVeyw2AzD71h3vZ5/09m5j6+k0GD/UIaxd+8eTuwtcS/QN5wPi1W9rRTLoC2Od+qhq/XiThse3y2f/GURB9DVwllSjEbLz5br1UA0/46y/BN2DkdYSg1oGAfr/+KNPrq/NmnSBIz/Iu68OAKcZ+17ih0jU28C3c58ir/OJN//eW/nIGCO5TP4GZFkaOm7SyE2do4cu+Zi70sAsfcW+2bXnudYxAmagekpdooKEefU65M1USzJwTQkTrInjxXmtlO1PAoXPUfIIPqspofwrK2YL5YZRnsVxMYAnJQiAuUZFhtpcRN49s2tQCabJlJIx6Q18wrZmsh2iExMvT7JkceIkjh4gcnMsW+vCUsXd; 5:zFKz8RpbP6VxrdjSG4X84K+Z5F8X79mqVGpnV1BDSDyPAZJN9t7jdvbm/+DC3Ra9QFMQYlykoJe9UzK/pQdDyysqTMHx7QFWtKPXNGoK4un+Su1hekTtF72XtLQ15ANix2Ko7GbDBPlEwD++uJ4PvQMfx5AaAaCqagIqlWzKKIE=; 24:dbZBNK9ly7ma4HFY7NDkaBTqwpDrW5vfk6uvpdYo1tDdED5sOwOYRII9QJClqXkTdCLzfGouSA5OTlJFUBjhd/kshx9cjCNCKIUoEKV2WjE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4292; 7:OP/JXUraVjCCldyobGdRipLCdV5OMQHcA4Ymn6lDbPSKTYJ7jaWYpxaCg2Ve8dP+YSDhLa887szAv4z1H6g14EiBKK/hNTJKGVwd4D1habpsUeB0EimSpq1zPqAWTJf3RtoaIyWCDUmdVYaHwbUUe+BlwC4A/+fGzWwCZ1q7YofTX6FsRqBlVrRo6A4sfVymMMaPCs7T1SdIEA3MX4qvD8AvErmpM2/5Xkj+E05/UvUzHDGQGmbdM0WvkNAmB3f0 X-MS-Office365-Filtering-Correlation-Id: ed0fcd9f-d0c2-4f39-a30e-08d5a526ffdd X-OriginatorOrg: coriant.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2018 12:22:05.9880 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ed0fcd9f-d0c2-4f39-a30e-08d5a526ffdd X-MS-Exchange-CrossTenant-Id: 76595477-907e-4695-988b-a6b39087332d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=76595477-907e-4695-988b-a6b39087332d; Ip=[204.154.131.209]; Helo=[usnapvlsmtp01.coriant.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4292 Subject: [dpdk-dev] [PATCH] devtools: improve kernel script execution check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 12:22:08 -0000 Handle properly a case where DPDK_PATCH_PATH is set to point to a directory. Signed-off-by: Juhamatti Kuusisaari --- devtools/checkpatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 7676a6b..2bb5458 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -75,7 +75,7 @@ while getopts hn:qv ARG ; do done shift $(($OPTIND - 1)) -if [ ! -x "$DPDK_CHECKPATCH_PATH" ] ; then +if [ ! -f "$DPDK_CHECKPATCH_PATH" ] || [ ! -x "$DPDK_CHECKPATCH_PATH" ] ; then print_usage >&2 echo echo 'Cannot execute DPDK_CHECKPATCH_PATH' >&2 -- 2.8.1