From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0042.outbound.protection.outlook.com [104.47.2.42]) by dpdk.org (Postfix) with ESMTP id 8E333CFA8 for ; Thu, 19 Apr 2018 14:00:09 +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=cX9wjRvWZTN8yChY1ir4fSOJyLUMGhg/vRYDZoovT1iuQuyIw8xm0wvESZbBnhjwrKPs+ZAMMvTHKjqBglbC9GRzP4agy1WL3zZNRbPUqDQFlhSNzakLX96ZxHT+H5lrL4WJOmkOznj4XHdc/FjicV54xDq8gGjO4SVNvFgCGnE= Received: from DB5PR04CA0035.eurprd04.prod.outlook.com (2a01:111:e400:598c::45) by DB7PR04MB4298.eurprd04.prod.outlook.com (2603:10a6:5:28::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.10; Thu, 19 Apr 2018 12:00:08 +0000 Received: from AM5EUR02FT024.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::207) by DB5PR04CA0035.outlook.office365.com (2a01:111:e400:598c::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.12 via Frontend Transport; Thu, 19 Apr 2018 12:00:08 +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 AM5EUR02FT024.mail.protection.outlook.com (10.152.8.126) 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:07 +0000 Received: from fies1uas61.tellabs.fi (unknown [172.23.229.177]) by usnapvlsmtp01.coriant.com (Postfix) with ESMTP id 1F356403B9; Thu, 19 Apr 2018 07:00:05 -0500 (CDT) From: Juhamatti Kuusisaari To: CC: , Juhamatti Kuusisaari Date: Thu, 19 Apr 2018 15:00:02 +0300 Message-ID: <1524139203-92094-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)(396003)(39380400002)(346002)(39860400002)(376002)(2980300002)(438002)(199004)(189003)(9170700003)(48376002)(47776003)(6266002)(107886003)(104016004)(478600001)(59450400001)(53936002)(77096007)(72206003)(26005)(2906002)(2351001)(476003)(336012)(486006)(356003)(126002)(50466002)(81166006)(6916009)(8676002)(16586007)(53416004)(51416003)(4326008)(5660300001)(6666003)(50226002)(86362001)(54906003)(2616005)(305945005)(426003)(106466001)(36756003)(8936002)(316002)(106002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4298; H:usnapvlsmtp01.coriant.com; FPR:; SPF:Pass; LANG:en; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR02FT024; 1:Y4g1CSHepNwqC6R737ObOlTD0RSAgKEKCEF26aS9gERnmz3yUf0jpr6fhOUWArlKeRWPdKnqhHSZ6UJGO+GzcMdY6mPffMc2SCEw4yRF4QMrDdxo8EbzQLX8VsIG8X3y 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:DB7PR04MB4298; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4298; 3:34qJHllmQEULY5XrMI15X/rGt84nk7otLukiphzBJx4eR8PsM5z1MhzupYIBGJGeb/Lj9JQY8kbtXaDGhguRZm+vay7hhn1hm41OC1P2R988GJkV3soIHCe+0Hu0LD1/YzqU9ejJjMtWAxG8gYUWrGKl7YmfSgyEkgZCcilabNAqgKIT3oOoH2ske1Fh3loZc+BWzveoibSoU0qon0MBRifYsBWp8rA3rN/8pg8CD6vsGMd/OPcxUBHD+46gGwISdaE24MgfR9+cRpB+8FH2Giow9vctmvhTmFIflVZIh9Qli7e4NXxW1LfaJcqcyK5Ps4v67T2b2jiD+lfrLU3k8hccRrE9pmz0SdKad8PaAFM=; 25:/ntwNi3zMzS56LT4rODYHRfmSbP2y80REd6pQA/2GqCoaj7TlZnYFHpfyD8YTASOVWHgTh6yH4p3UjuO/FwUC+sf/ORwAaq4yPDSkKhSKy9vIL104rnTe0TYsfbglEzYMSAYmCwLloM3okiGNDiz7rEWVxIW70PFjuaFC+yqf9HogS1/QgIFavRbrPiCqFi5s7pLqIIMHbQ8ouE6cHjVHFOD+EQeRej2NEXpYo5JfLBQ0By5aDBBE9I99I2lEVmPnwNEVTxk/VT3YvuHZuGMN4O33pYTwiIXtjBH6BHAIjTev14hOj0QT1GDz7BZvYAfFqCFBgLwxy+qNrk5Piyu+w== X-MS-TrafficTypeDiagnostic: DB7PR04MB4298: X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4298; 31:nESnuhtEp0ow2wPdkUE6TbTDigroDv00vmfTjmv3bvOW/9mntonbhuxF5NOU0pvoX2G/mV8Jxcutfswrk9ST19QhTDfgKMK7zxO6YesEAjVGx9mj7s6ozX55XTyGrclYTzODR3uuh/mwfP/XCCnhT+LYwAutN64u7pP4A+c7/cUkWFD/wS1eJYhR/CUDG1aby5svNJU5b0OaenpGhduGQ776j9HLclgW3Du0kOlM824=; 20:KyrcBffKsJWXCgHu9YBTcMsbimko/2FnJW12RZ5MDvilyX/ClZWgaNeqIiRrljV4B3lIdoHIAcj+nNlVVo7lNLG+hk0QGZuTa9i3vrS2L+Ucim1jOjPBPdU2LUb6c9SUV5mHYFika/nTTUTImQQKmiqXmtZICfzxZt2BKrsM/H0ySiVrfNpVna9Qal9xCoz2L3spwJzWwZf0j+imwM3DxsxlKkj/0sp4YcQFMFNq4enTz4OYs0FRW16Zv424vHU7yyHbENq6qXdGiPezdJIQJE39+Gw8TDLZzvV6pUtPhlMz/OmwxgdacKK7kisCS135rPdyvesTcsyWrU4mu0C5z4BgJ3c798XxoVFMACncXBGXKFqwXuh8Udj3yqGykrQyxOPulUt2oSWtNgqi/2WTjeVdQH8BWYcx9oQ/BleOoN2A1MG8isTY7PDjcimr43SLyxuwaGYURy2lxMIYyIY3Rxti92oIzn2myw+Ee0HvUKURGW/Qajx6fFUxpX5U94FWHzAEAcfMdipaxTqY/4AWhV3M5RzehToOVJnVdsIpDA2rLxW7bAhgq6k75W/zHaq11unxdGmCUnnyno/5V7rWdvxZk8y2PfRef8m/eghIymM= 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)(3231232)(944501327)(52105095)(10201501046)(3002001)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:DB7PR04MB4298; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4298; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4298; 4:pAc+B6/PNkzvvwSxQL8IFymvzTACNW64zprTwcHbIO1ZXX/nblusXtIomOhcMdnsxzhK/5mkw51Wbdu5YTJalRQxoffTpC0WoSWr1TZrrOgsSXHSGH5Qzp7eLgY6EyYPyOVcNJGsxhQbmd+bgzrfyMV2AdRMzQ41U0aKgOGwklNp+AV65mOO2LPbqPA4isVdkEhBQYvvhTjgcCZ2N9H81o6SGlkh69JT0S2rJnf86P0QpDAgZVjxyuDhEEv6vHxX+n5o4LczxXAGCJE/5Ev3DwcIagZoxg9I8YD2eXNH0xfMzil3i2wngIyCD7QTwZ4j X-Forefront-PRVS: 0647963F84 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB7PR04MB4298; 23:GByyb3goYb4s1IWFuaRKFUcacxkf2ZAa3485+dIbq?= =?us-ascii?Q?jmFseCTnNoKXLam2rjbXyuAbjby4/Ygg2PZjC3fkXmsmNMlDIfd58/9iPN32?= =?us-ascii?Q?fwk3hQMFnw7Eo2fN2Kt+9wjwAHewG1rR2vmVrlbT0fKt0bBZt0tNVJQU/WfP?= =?us-ascii?Q?Y6oK1phBy+Aa/I+ZI+kX/VUsIrhpoEhKSibYC34JyuXIqybD0vTyumlk/Qw0?= =?us-ascii?Q?6kkLgbp+uwqtX8oe9lI9JPmW01BGcJHRApfUvcMSLJ1CfEN3VSoh25j+j4gh?= =?us-ascii?Q?D4Q/poR+wcdqpkeV9p4+uypNjTkrrAZUrbBq1iOtEv9+ChEUxDmTjYXfgyq1?= =?us-ascii?Q?LpkJO76zlF2YLQkNBKQjpMgMHoSZcLljoJ7F8tt9tlcO+KG9ptRdWN23Kq4g?= =?us-ascii?Q?O6+o8iAfLhn1BTSn/mkL13mrngMaiiiHO8VUxJ0UAZareQQzafAMffhf/iW9?= =?us-ascii?Q?AxRztoTlfzJKNh6SoMrA9b78rric1NO/GrBlHfGB2/LIoEPl7SbamJj479Ds?= =?us-ascii?Q?2v8fZTH8XdZ130FijPa67UbvFeZna7iduMErBC3620nxj1nPTfBWVgbfhYN9?= =?us-ascii?Q?j8QPlf8mzwThJ3JZj5eLoN6AQUOb9YgcA84qGb196I31OK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oft-Exchange-Diagnostics: 1; DB7PR04MB4298; 6:HHKQGcC1cjdEvYNZHMpd7HbPH+gL6+jCjX9hUhfmgqMQUhxGpAFxUnD63xHHxVmyplKO8m4etEO9e67SKT2/B4ckSk5K88/ohrdPboe5XV7JLkOd8VmNTP6UKFkLAT10ssBqZsNqrz7bEzOkcjEHDTzSjDHVnrVZ4I3R0Wov++Ye51zfDVF16l2tfv332r3nPNlv6ksqdbeT8/KtyKOC5pYDQou39JIV3Dc6KRf+KtvC1Q8d8bu04BvZzbV1nnSgi0Q1Y8Q8ELpWwjFDUcE5pPqfh8aSVF7cbQyNx2FTamfDpcCWOmHU5qM5UQryDA1xNG2sPltQtKsa0ghpNiVR3CYnpn6KtVL+2GhX+N981d2syBjHNyDIOb7tZypSpAQPSZTewUGk4IHbjH7d+T9FFYaltXBqbD07BJrVePIGD1Obm44D285iDahK0DgN3v5RanlRADOpzpZXcXGzv78WxX4TORycgtGGHUlnMky2tnUtJGCfIriuOjVpncRVk8GC; 5:riov0iymG5dSwb/HPzro50PYATpaXbmBXcEBm71cd8Yt1KhmTacUyDDsj5XTcFcsB3oyp7vKCoKVBIb5BLCq2Hn3b2S8aYiJYqT3esy0y9tfCzQ/YPzayBh4DuLlDAdyoMA6tqtm+9JTn60LxISkpRjjV2jnamQCdKyMi2c5ZiE=; 24:pVkVjka+q6Ey0iTI1Uhwp6bxbzVB0bznAVjV9rPYGcGGrMwE6xdCVf2A55WednL8Rsc1WOz3vxTZpoKtM6eD/Q8+WPilsQjfp2p0/hTCsQ8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4298; 7:3UhZpynnDb1UvfT0D607VIOE9db+mHHrYb4fVe+2zS7hcUwSf4+LKicdrNoRtF/dM57igLlHECGs05FH2kddpbEZFPR++KI4VpaC9to8lx9VOeoNYtNG1DKJDCL1KXDEqObOWLMlfxyljbtskS2JC3PYB+krUsPFK1sdpZ2wKYooHvEGKxYB/gMz/brUOCCuYncdV1mAdX9fmZBP9KhiowVfOGiN1s3354B35gaE/KIY+3qL3GKrNfpJxBKgdwt8 X-MS-Office365-Filtering-Correlation-Id: 1e9ca71b-e7ee-4849-b8e0-08d5a5ed187f X-OriginatorOrg: coriant.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2018 12:00:07.7149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e9ca71b-e7ee-4849-b8e0-08d5a5ed187f 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: DB7PR04MB4298 Subject: [dpdk-dev] [PATCH v2 1/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:09 -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