Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp671424lqp; Wed, 12 Jun 2024 12:33:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3EXZyfKKHDPNVKEYDgxVC00xHI6/11xSMNz3QiBuNfEMw3G8WeO/HTNShdR+ur0/CKxj+Q8utPvPBrrUybeXmbKBDP1cOdfL9hGeCRA== X-Google-Smtp-Source: AGHT+IEHYBB1n4hhFdign+qz6hqXJru73KdpZklzElS5UCtlxg3z/UPOMgKVOty2Sq9f6DHejVA4 X-Received: by 2002:a05:6808:1b1e:b0:3d2:2d77:3fd2 with SMTP id 5614622812f47-3d23e0a97damr3382363b6e.47.1718220834306; Wed, 12 Jun 2024 12:33:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718220834; cv=pass; d=google.com; s=arc-20160816; b=JpDni9czGr1YBT5m0OzOUuIgMfpzx9pSBDGQqZ0MEBs/rJVVyuc/ftqCbMYShaaOO/ f+uswC+KR6pGr0Css7pazvI2+igYi1Qtge6W9yX8gVyvaFVeSP+LC1dClXY3235txVGJ x2AUGuovy/ZOYOoehsGGg19dMwYRLtd12G0nSDVCFDZanXKAdnRpseE8GTt4BuFVbkO3 /j6pD2IbXOaunBz4ZHYsQC+8Z7Mfi6ZKFnYsXVoN6OS41x3i3Y54pSR3U8U6xUKz5j1y BZYeDsv4E0f00RrVUuYN2PNUYhlKUpoVdnxjnKRWX5Sd5M3q1M+l/595jx/v4qXMX8re uMGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ak6OXrPF07tGTttAP9HDGFvaFe9ciAKjMYI3suYEzEo=; fh=GFftpYcw9xLIQIvjkpcZWzw1C3HnBu50MOsh7Rl08JM=; b=NgQBHMO9Fi2eP3hQnqsVhz/cKtqRQNsGPvlh+EpmlehPA15vSR073Gg3SX3wTaxvGc zk9iRe6AOlwUo2y6r1KTd6JU7AxeyzEHdAryFn8X0aiKFyPYCZS5w6TGL/NUD2cyd7uu I8PVxEF26Lv9JEFw0J6oC5AQfVh6tYobV4G+IFZSGNTU3+vB5lFL0LmpFlmwaHrkmdxZ oRP0yo6IDxxTVBWUTPXuD9nkuzMPIBo+vRryCKeEtcBoHar5WpNrHfuO7cI4iQA/55qp D9N6xMRjm/sBiMcvBXFcXXWB7VVcN0tbzjd/0N2w7e1Bb8i5abgJz7aDsd1tZckPidc5 ZPRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@fjasle.eu header.s=ds202307 header.b=eFgF4iMw; arc=pass (i=1 spf=pass spfdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-212159-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44152b3221csi40823801cf.677.2024.06.12.12.33.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 12:33:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212159-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail header.i=@fjasle.eu header.s=ds202307 header.b=eFgF4iMw; arc=pass (i=1 spf=pass spfdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-212159-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 163D91C23A6F for ; Wed, 12 Jun 2024 19:33:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F7FE839FE; Wed, 12 Jun 2024 19:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b="eFgF4iMw" Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.252.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86D793A29F; Wed, 12 Jun 2024 19:33:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.63.252.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718220824; cv=none; b=rEN3cyF7r7DDzML1UajAdQO487HDwmMFOhB5JxTE283JNdPboF6VdYBRkwpQjzCW5u7hDmy5uGvnJqL8ixJ+h81nz75U9sTx8eRbuLcwgQAUKo+cXl9HSlix+OiePFLAZc7SsG/A5qOyjm3EbifgipYcZd+dnSkYD6RCF/ZR4Hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718220824; c=relaxed/simple; bh=Gax1/X8fKY4aRilNx+vxa7ff0//c5oRtSKW1r+ZZUwQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FZaqu6029278UDphr6Wum0+Wr3Jag4sVUkNwk43tpFed269uK9w8fEnEvLVGMqlgDm1juevKPFvqeK1RQhLabNWahMw4/odaT8r4X4Khz+G6f1kSDx0POW/En53SbrbmpvxxBvXiHyeu7eeqoZbm12a0nkakk8oa9fWK43WLcPQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu; spf=pass smtp.mailfrom=fjasle.eu; dkim=pass (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b=eFgF4iMw; arc=none smtp.client-ip=194.63.252.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fjasle.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fjasle.eu; s=ds202307; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ak6OXrPF07tGTttAP9HDGFvaFe9ciAKjMYI3suYEzEo=; b=eFgF4iMwqL8SamlFCaLlXT9wi1 GAheQ0ACG+IrfSit8wAxJ1clqQNzcpdPZEtlBX4eXVhxCr0DzSDpDSIz7/wXqroTylslTQrlZJjOh bFEe0KEEWGGizmzev+Kvl7Bz/wrQI1I6Ix7tnJ5jnm07esmyhXkG6SsCYQPbusAbx8EQpQxtzm3Xy ToU1kFenDeKbB/Kr3LV3iSIaKWe4ug06QM9dHEiDlkOwC6aJKImaCAJozv1ln2S/qkr0WejPlfWGl TY37foRlLiuRMfZHwfbo/vyHg3njCFFiihrFhi5LWkL0Mci644fhy5OD4pR6Uz0Gi/5o3PF6j0Dls hUwVWazQ==; Received: from [2001:9e8:9cb:9501:3235:adff:fed0:37e6] (port=58678 helo=lindesnes.fjasle.eu) by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sHTiq-005QXv-Ou; Wed, 12 Jun 2024 21:33:28 +0200 Date: Wed, 12 Jun 2024 21:33:24 +0200 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: Re: [PATCH 2/2] kbuild: package: add -e and -u options to shell scripts Message-ID: <20240612-innocent-acrid-husky-5a6cce@lindesnes> References: <20240611160938.3511096-1-masahiroy@kernel.org> <20240611160938.3511096-2-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240611160938.3511096-2-masahiroy@kernel.org> On Wed, Jun 12, 2024 at 01:08:06AM +0900, Masahiro Yamada wrote: > Set -e to make these scripts fail on the first error. > > Set -u because these scripts are invoked by Makefile, and do not work > properly without necessary variables defined. > > Remove the explicit "test -n ..." from scripts/package/install-extmod-build. > > Both options are described in POSIX. [1] > > [1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.html > > Signed-off-by: Masahiro Yamada > --- Reviewed-by: Nicolas Schier