From patchwork Fri Aug 4 16:59:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Morey-Chaisemartin X-Patchwork-Id: 9881731 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DA827603F4 for ; Fri, 4 Aug 2017 16:59:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C88D42886C for ; Fri, 4 Aug 2017 16:59:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD609288E0; Fri, 4 Aug 2017 16:59:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FAF8289ED for ; Fri, 4 Aug 2017 16:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbdHDQ7G (ORCPT ); Fri, 4 Aug 2017 12:59:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:35678 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752617AbdHDQ7F (ORCPT ); Fri, 4 Aug 2017 12:59:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 84E41ADE6 for ; Fri, 4 Aug 2017 16:59:04 +0000 (UTC) From: Nicolas Morey-Chaisemartin Subject: [PATCH rdma-core 2/3] cbuild: support .tar.(gz|bz|>...) extensions To: linux-rdma@vger.kernel.org References: <27366048-d80f-3711-c6cd-93c87809650e@suse.de> Message-ID: <8fac95c5-7469-e780-a167-6015a4a0e490@suse.de> Date: Fri, 4 Aug 2017 18:59:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Thunderbird/55.0 MIME-Version: 1.0 In-Reply-To: <27366048-d80f-3711-c6cd-93c87809650e@suse.de> Content-Language: fr-xx-classique+reforme1990 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Nicolas Morey-Chaisemartin --- buildlib/cbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index efc039bf..5228ec1b 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -420,7 +420,7 @@ def run_rpm_build(args,spec_file,env): os.mkdir(os.path.join(tmpdir,"tmp")); subprocess.check_call(["git","archive", - "--prefix","%s/"%(os.path.splitext(tarfn)[0]), + "--prefix","%s/"%(os.path.splitext(os.path.splitext(tarfn)[0])[0]), "--output",os.path.join(tmpdir,"SOURCES",tarfn), "HEAD"]);