From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C630EC3DA7A for ; Sun, 25 Dec 2022 16:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231192AbiLYQdZ convert rfc822-to-8bit (ORCPT ); Sun, 25 Dec 2022 11:33:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiLYQdV (ORCPT ); Sun, 25 Dec 2022 11:33:21 -0500 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0990F5F82 for ; Sun, 25 Dec 2022 08:33:20 -0800 (PST) Message-ID: <628c5e32a437ad198866b03f2d6ff8a9c65754df.camel@gentoo.org> Subject: Re: [PATCH] kheaders: prefer gtar over tar for better compatibility From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: Masahiro Yamada Cc: Dmitry Goldin , linux-kernel@vger.kernel.org, Sam James Date: Sun, 25 Dec 2022 17:33:15 +0100 In-Reply-To: References: <20221217084155.663235-1-mgorny@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2022-12-25 at 01:45 +0900, Masahiro Yamada wrote: > Instead of inserting a workaround like this, > another way is to allow users to override a variable > from the command line. > > > See the top Makefile, for example, > > > AWK = awk > > > Then, users can do "make AWK=gawk" I'm sorry but are you requesting that I remove the check and use $TAR instead, or allow overriding with TAR, and fall back to gtar or tar respectively? If the former, should the script unconditionally assume that TAR will be always set in the environment, or include fallback to tar for when the script is run directly? > -- Best regards, Michał Górny