From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40082.outbound.protection.outlook.com [40.107.4.82]) by dpdk.org (Postfix) with ESMTP id D3217CFD8 for ; Thu, 19 Apr 2018 14:00:11 +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=+pemSnBX02rNnH9LmPoD6psFpUUI/qva4VtSidcqAV8=; b=D7rW8HQShK1Kf2DmM0I+Rp4c31yaiHTi1zIbpSrJAqtUsTm+1Zv9ACa725fuOg06dz5DZmYQ1rKC4W9+Mvub6TDIFasRaBg7j/qELXnn+joYp9nNRE/9A1AFFI+M9y8qtbGiwFXB9I51ee35UMC0ilwtLPmIrQpW4mllLvP7Ohc= Received: from AM5PR0402CA0004.eurprd04.prod.outlook.com (2603:10a6:203:90::14) by AM6PR04MB4295.eurprd04.prod.outlook.com (2603:10a6:209:4f::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Thu, 19 Apr 2018 12:00:10 +0000 Received: from VE1EUR02FT040.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e06::201) by AM5PR0402CA0004.outlook.office365.com (2603:10a6:203:90::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Thu, 19 Apr 2018 12:00:10 +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 VE1EUR02FT040.mail.protection.outlook.com (10.152.13.217) 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; Thu, 19 Apr 2018 12:00:10 +0000 Received: from fies1uas61.tellabs.fi (unknown [172.23.229.177]) by usnapvlsmtp01.coriant.com (Postfix) with ESMTP id 526C24036D; Thu, 19 Apr 2018 07:00:08 -0500 (CDT) From: Juhamatti Kuusisaari To: CC: , Juhamatti Kuusisaari Date: Thu, 19 Apr 2018 15:00:03 +0300 Message-ID: <1524139203-92094-2-git-send-email-juhamatti.kuusisaari@coriant.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1524139203-92094-1-git-send-email-juhamatti.kuusisaari@coriant.com> References: <1524139203-92094-1-git-send-email-juhamatti.kuusisaari@coriant.com> 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)(39380400002)(396003)(346002)(39860400002)(376002)(2980300002)(438002)(189003)(199004)(9170700003)(48376002)(11346002)(5660300001)(305945005)(126002)(2616005)(476003)(446003)(26005)(77096007)(86362001)(50466002)(107886003)(6666003)(6916009)(2351001)(4326008)(478600001)(16586007)(51416003)(59450400001)(316002)(54906003)(72206003)(106002)(486006)(104016004)(336012)(426003)(76176011)(50226002)(2906002)(356003)(8936002)(8676002)(81166006)(106466001)(36756003)(53416004)(6266002)(53936002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4295; H:usnapvlsmtp01.coriant.com; FPR:; SPF:Pass; LANG:en; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR02FT040; 1:jj0oI2CwjhEDWbLRb7JGpKCIttG5NEe1M7hEVeKtm+9KEBXPxSLTaGO56wfQfKQCmEVDTKjZW2nRmRSMML2hil0OMpgHTkbYG+D+iTOzm8kA+0YF/QOK2Szy9qeMzbfP 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:AM6PR04MB4295; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4295; 3:ashfpoMUtnFfRGFKkhrsKG70Rsb4DqqAXl8MDPljAg9mOmqCss2Ich4/6U6cMtDQ442qhtqaI7LBfEBVIRreKM0ttCosvXIwojh1qOtKf9Hmi6pJlv/DvyYu/4jmoN8GKHJ2vWIEOjHi5S33XuVVxg8JSKc+Gl6vpUyE48Qlw5p8VEQZSExx9yBK+t+ykXB+75UaWvBTpnKdP8m15ESaE3b7nigpdsZqi2w+A2bE0n6hUOBY00jyLXzmWDwxDAtAGiibfMe++L0TS5lh5ErHAtTYuK9zBz09MN144Mbr7SLJU4MEdQaCbu4Jbxmk3sI7SJ6L9JwPe/lt6fqk24SfLzHuKBY6RL6kkqXzoUFVTxQ=; 25:V2K1UZDVHtuyblIjr/uRBL7ECwbWSmGAyRe0ID3Vth1AFt5vDhc5aNSZ3YoKZ6HtnfSS5s1Hi0SHy28bMX3Sxb3GhMlcZAbZ71m3B88CJSKKIOcJjyOHtSlY+I2i1W1+FPZEBzyQ4r/125mStJEAfldLg0otoptut7lsdPNvnaLGvh8z0M942/a/KQqHXvTM8TNZgI/icfvEssWt9RE7Or/RhJPnKC0QfMcHNVJ2B2EtxYM1JA1FadcHaqrSroa/dShTPWlUCaWYjY7yrRVOsE0nDsLGPWGJcvPq0YIVNySRfuJArB7g/528B2FNK4QL4/E2x2CCLPowsnTwKxyyGw== X-MS-TrafficTypeDiagnostic: AM6PR04MB4295: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4295; 31:QkHHOkIlAzaOv9zhtb5jWWM0mKr1gYk6JfJsLkiS7HjPqvmirtl/Gk/PGELOBwmwaKQ+Dp6YDSRnc5Hp22mf8Onk35jlQzYgQiAnqhPfOOftWi5WyXSmJQtM+8wynHjckF2ivi/iWkhajwWJYYBubCu4BCpjRGcRqNP4eTh4Rc9Qx7rXwReVBJoHJdJCkkUxgzy1/3QkxqjNffydXMs1mfy7oXvt1KUtTCcazNlUyOA=; 20:Ef03EuLsyiUmLRORaDcVJY3UA22vKVB9ZV+S7fxfM3y3Sh2B21edGtzimF/Kffkruhx893wzIwT6fTogC/P4/GHRT5ln8uAJUWx1SaIy1UYTb9xOi+M+dnq7rLReS/TivTI1TnftbSfFyvhqyBs2QYRkZSGpl+0BIkLyT6V8oH94mqGSOlqE4OucOBlXqjmWiAtSN3TUpaxu2Y0htGH+fDgi/0S8CzxN9fcMdqCMJfW0H9n3I2JFcatpJ0SLVDKG5cdvaKpVj/sRcfrA/zmIskcETeEeY6NCeULuIUQ82OLTzKdFgHCnSTixl4wosgRuHSaLOar0XJwBuhjtQHE/uQHVxowzH9Wg1F1DoTF9gVEDnL8ZzhhRkKq2vKN2LcQz+5srn1AnH1wd/DQc3clVqviTYO9uALLaN/N91KQgF5Klfoq+7UUnhfUV1Yl3vuYqibHdEGGuhxz5GJx6nVZJXrfpfAVttk2+H95SsOmzGMh7Xvbv3PBNWLHVrNHqqadtoB89OfzbVrL2EKWuItfXH0BOSe3Oz/d5VxNsa1qr0YiToAJCuTu/e355jurERJXZhZCebWgKrfUhwPK39EwJx7GTMxBjTKubRfxaDifiM0c= 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)(93006095)(93004095)(3002001)(3231232)(944501327)(52105095)(10201501046)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:AM6PR04MB4295; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4295; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4295; 4:6NXQ6qzf24y7fDUkAICehvcSHqQjxHQNTRKhtmZousLqwx2K4dAmT8xXxYZ3JVSPNazdc5fOQLaMVv2lm7ozuNQwMnwWxwPJ98nEAnd9Od4Ju3TZPQlrjx/PLbHgpemtYFUfww+fxPKewlaYllEfFqhBWe8+qwf4MLIhuUK1zbHSf4bvutNpSRR5a1HhSG9vcuM4RBS6yj9PnIp5OxfvrobnjkWPqYXkPvxTWVddddBrfckntm20izsyYN2+cReNaUdqt2kvFeKDLnAtQfJA5vb/ETza5SI17hCaIx35RWiGheKAPkSR1DjMw3q6ccEI X-Forefront-PRVS: 0647963F84 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR04MB4295; 23:C7ujU3R4Z0Chd9got4h91nMD6ioct47mOySUAoAv9?= =?us-ascii?Q?FIuOU28LVtuyeWEDCoDbfT3RK4hlzYM65w9y9/huL9Kuj2ySPD/yxD7/R4E/?= =?us-ascii?Q?Xkcf2ZqEWmJ3/XhQto8mo0P0vGVhK6kvHONRZRsT3lDAeukjHnuGam5N4Jrx?= =?us-ascii?Q?J2ck5rRgpfzsx3plrNIw5qkgDJ5BtPVvExLXusXzGzY+FzD6CyD0ZMa6Gbma?= =?us-ascii?Q?HLivhgpbwkP6yppGvjU03HsG/pM+kQbtgxyxwlvXykLfzUBe2aBRBEgtC3Z2?= =?us-ascii?Q?Dkyfu1dJPyruSx0VCTCbn8iMU6SW4TD6CUD0y/f0dWS4hbUm06EHPTT/eD7V?= =?us-ascii?Q?buC5QnEStZsN7OoeJ3QeA3Zk4it5tODUJznkAIsivRvbT1QFnPE5yRRkpogQ?= =?us-ascii?Q?N6BLrIEOFj+29nTgDuOOjwI6RMGfmkKaSdYUv9k1r/DfW38Rh8bPMCFvQS+1?= =?us-ascii?Q?gX28QVWcgoReSBe7ras/paG/m5SdiBVZiJ8je7WjDODpzFy5/YR+P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SPM X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4295; 7:czSzhuNqL5pkibeo5s/2XmsaNFHRokfJZJvGqHT6YMv3FNxL6qkkjQeKAXyT/95KH/zwuxKk9eqxC3ylGCn3xNO4mReWy8yFoPBRjP7jlmuKruJjkg9cOHIe8CAW5Dl+CTtwhz3kz5kgonUH/F+zjglSwlMzXNTPuQBMU+jHfsv6TVSmX9doCBMJEQkuCwSUBxif+T9kYFuymoFpmTnrvestwk3UeZC3sWm1JoENh/AgtpPFKkfrCBxAFVpleyxa X-MS-Office365-Filtering-Correlation-Id: 9817e4db-3679-4d24-5694-08d5a5ed1a0b X-OriginatorOrg: coriant.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2018 12:00:10.2763 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9817e4db-3679-4d24-5694-08d5a5ed1a0b 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: AM6PR04MB4295 Subject: [dpdk-dev] [PATCH v2 2/2] 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: Thu, 19 Apr 2018 12:00:12 -0000 Handle properly a case where DPDK_MAINTAINER_PATH is set to point to a directory. Signed-off-by: Juhamatti Kuusisaari --- devtools/get-maintainer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/get-maintainer.sh b/devtools/get-maintainer.sh index 1e9eabd..b916048 100755 --- a/devtools/get-maintainer.sh +++ b/devtools/get-maintainer.sh @@ -23,7 +23,8 @@ print_usage () { } # Requires DPDK_GETMAINTAINER_PATH devel config option set -if [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then +if [ ! -f "$DPDK_GETMAINTAINER_PATH" ] || + [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then print_usage >&2 echo echo 'Cannot execute DPDK_GETMAINTAINER_PATH' >&2 -- 2.8.1