Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4287008imm; Fri, 18 May 2018 02:32:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqxaxxcQ7pF3O7ZjhTEjwzo7Ie4aILOR2UioRT2oJMZ51X/LK10lok87CChX/ye5xAa0Aqu X-Received: by 2002:a62:4651:: with SMTP id t78-v6mr8701236pfa.46.1526635926758; Fri, 18 May 2018 02:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635926; cv=none; d=google.com; s=arc-20160816; b=n3D3PSOiUSiWktnK3wqGrAzucppJy29IMen3dIvO9PuHCXX9eFp6nuwRkSE6LXNZlB Dy1ea7mw3dS4Ln0Bch6peyQd4kojnEcv8apf69HkBgUz7KY0r2ae11h7nWCKA2AnBOG0 18r3sgZgtWHAIvkkZcRGwk2S6xRBs1IXjB+83V242fKSDxUCJTzposJOiiE1n1CUmagO qMFQj2eO68uQLEVpI91eAlSIbdCPJX2mupUER2whcAMhnYqk2q67ox9UxjLggwnXKKRN f7+Dbid98ZmAKyb4XzWpq/4EJWjQr4dG1O/rO/nyGGcIiWRNIN7EmWnEGyEnx4LL59j7 ZIEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=8SU4iPD5en9+YqKHiPE6cUD5dde3b1idBGDKUG4DXKQ=; b=ZQQ2dGMfbjaUrgsLBGDE85AfqewGUUgNIzkE15T3qBvs71pQ/RnAtohbltXZevG3V9 uo8bnCHVEK1Ay+iDlQCtv9N/K6KzYMZBCOyXm0y8/pJAJV9eXiyT0r2XTB8A/zIjKtqX kckqlCfrkDOkMMoIk8qfCz4GW1jnJuXlVTmfPz5EuCNnODd0t4jfNr4mPaG4o+aSnpep JLqz/ju3HNF1H8iD1ya1sQeukIZhVEnOsBJi0QhgqLvelQ93bXS2QPT0CYnTrt40YmjV rA4dWsR+yMbKPcMDdnPTYZoLW5QQijezBlt9PNiKLKYu+C5xpZTsKDV/1Ft6xSwv7Q3P 0rBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NcXLaZek; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21-v6si5624780pgv.580.2018.05.18.02.31.52; Fri, 18 May 2018 02:32:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NcXLaZek; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753080AbeERJbi (ORCPT + 99 others); Fri, 18 May 2018 05:31:38 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:35303 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753358AbeERJbe (ORCPT ); Fri, 18 May 2018 05:31:34 -0400 Received: by mail-pl0-f65.google.com with SMTP id i5-v6so4270588plt.2 for ; Fri, 18 May 2018 02:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8SU4iPD5en9+YqKHiPE6cUD5dde3b1idBGDKUG4DXKQ=; b=NcXLaZekG4vZfB3lwfoZzA5BbCJW/rBZ1m94Awq7yqiPcO1ql6btjIALJkMS6GFjza s6noegQby+mPqCM2GqB/Vd8nv/8UR4j7/kr9gcOHIDVeK3qhhtzds/ujp8eXDlj4Rtmx RNIQ11F6FbUe3fO9LPaUAWiwvVhJ+St66LqPSmmZBjReAoji+/oNwQZMJXOskqfH0r/2 vtK8ZFU9D4JUHj0dVH0pjPrEEKPOe7jrzhepN04rR6mZps+u2Y5kGnWgrQbLdGS0pziO JmJHxjbaPF83IAbL6HgeeFwR61ZQ4yxqXttN2dcGnRkugr/kSaPwK+9nOyA36matYQJG yj0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8SU4iPD5en9+YqKHiPE6cUD5dde3b1idBGDKUG4DXKQ=; b=lyZ3qKkslzuGCctvNzWIciiNqc5m7JLuuUxD1NnTlyzYD/Kev5aMpagVPWtpor22x2 S6X4cYGzD/HVfsQezqyO9JZ++ci9iTbKwWsWS9Y5PG0YT6ZM6Hs/gS3grBU1HdeKjj6t /OKkeeJ6TAXLyHGxto4N5SCUvSW+GWcLyepAur3yxEKX6fQSmlfRyEbIfPUS/wif1KnX QzcS+OAOw1AEhtrHrqkJj7sJModqXBVJaCplaXf0og0TG6cTpu6UWy3YL4nngx1ml4Xa 5lYdywaHFmNRGgDABfoLaXQMIIOhqgsXksyqnAE6F52dxGwNpX5U62kgB+OZ9Svi/Trh O0eA== X-Gm-Message-State: ALKqPwfSKO7lOl0SB6HA+EjYuawA2mv42Ii8++BhyjRP9XokKOUsgAPT hjLz5EXYoGdejYqkRrtWNybSsw== X-Received: by 2002:a17:902:7b97:: with SMTP id w23-v6mr8897351pll.116.1526635893851; Fri, 18 May 2018 02:31:33 -0700 (PDT) Received: from gmail.com ([2605:e000:1117:c0e3:2e0:1bff:fe70:ea]) by smtp.gmail.com with ESMTPSA id v15-v6sm13807193pfa.107.2018.05.18.02.31.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:31:33 -0700 (PDT) Date: Thu, 17 May 2018 23:31:31 -1000 From: Joey Pabalinas To: Masahiro Yamada Cc: Joey Pabalinas , Andrew Morton , Linux Kernel Mailing List , Arend van Spriel , Robert Jarzmik Subject: Re: [PATCH v3] scripts/tags.sh: don't parse `ls` for $ALLSOURCE_ARCHS generation Message-ID: <20180518093131.7g5m4mu3mtrgb7so@gmail.com> References: <20180518062553.kodjjrlrosrg7vfq@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="b5cyb62egrzp6zia" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323-62-378db9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --b5cyb62egrzp6zia Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 18, 2018 at 04:08:44PM +0900, Masahiro Yamada wrote: > I do not like hard-coding the file(s) in arch/. >=20 > Don't you have an idea to list only directories? > 'find -type d' or 'ls -F' or something? How do you feel about the following? > # Detect if ALLSOURCE_ARCHS is set. If not, we assume SRCARCH > if [ "${ALLSOURCE_ARCHS}" =3D "" ]; then > ALLSOURCE_ARCHS=3D"${SRCARCH}" > elif [ "${ALLSOURCE_ARCHS}" =3D "all" ]; then > ALLSOURCE_ARCHS=3D"$(cd "${tree}arch/" && find . -maxdepth 1 -ty= pe d | paste -sd' ')" > ALLSOURCE_ARCHS=3D"${ALLSOURCE_ARCHS//[.\/]}" > fi If something like that if acceptable, I'll use that for the v4. --=20 Cheers, Joey Pabalinas --b5cyb62egrzp6zia Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKlZXrihdNOcUPZTNruvLfWhyVBkFAlr+nXMACgkQruvLfWhy VBkBuxAAgDBYeQtJ4o77t7+kaYAo0iGJjXiOBY+YA0PE8mnyKLDasDNzO/iWI4Vw fAL20WyAH5+Q+CO+o913rJ/egIoo7XMu7S8ZkGH46Yghhi0ViweKIAjLzIAV+tQT 9xUUFd3mUAYRFc+rxCHxXwGLVacEnlEZ3Je+OuRzgCRYDNLigCF0B96Ojf8nGFz1 yPxn8FrGBaFE2ox/fUtNmQWaUCGk72b7F3VdEe9vtRwnZSFuD7GmP2W1xKukzXJJ Px3X9HrPZ0Oax78hA5lfU2Xjx6dnxLURpZzCz6UK/trsyaKkzIbq7aHv0wUI5R6K D0OECUXzVNH7BxgsZbJ8WMys854WjPsCa+BgGOVkSI0RniHGAG3IzrpA2fHqlZ5W higjnH7rd6QcygiKViBEGg78IVV+47qNeEi/gJn9BE+2VvtXRhw0kh4kLVFvRK4e BjdfZfaIaXBdHLf7iVxJj99ZkXH/wKy8cDP05BLn35V0plvPMsI87anXRE3S4nRL SPFq5aUwXzsMAvBzYOPfVbwwQUOqLVmCMHpoVguEw8+E+aqI2YAIB9LkUNoFs/qp 3MZ7Jz3Tnssmvdhh+S/gExWyUaAFqwR9ssCswDTyI08Z21PUlTWMOVAQec2bKSHD JMJIhpV5nMh/oNGVXGyXVdBDF4HwSNobu3PyUrEZE4fdoaEU+3I= =lnCa -----END PGP SIGNATURE----- --b5cyb62egrzp6zia--