From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 15 Mar 2024 05:08:56 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rkysK-0078BQ-1q for lore@lore.pengutronix.de; Fri, 15 Mar 2024 05:08:56 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rkysK-0005bV-Ap; Fri, 15 Mar 2024 05:08:56 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rkypv-0001mZ-0w; Fri, 15 Mar 2024 05:06:27 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkypu-006Qrh-Fo; Fri, 15 Mar 2024 05:06:26 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rkypu-0032s1-1R; Fri, 15 Mar 2024 05:06:26 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 15 Mar 2024 05:06:26 +0100 Message-Id: <20240315040626.726010-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240304072708.50708-1-m.heidelberg@cab.de> References: <20240304072708.50708-1-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] ptxd_lib_template: fix "ptxdist newpackage host" with an existing target counterpart X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 74d12e9c53065c7aaee1646739fc83d4a904dad9. Michael [sent from post-receive hook] On Fri, 15 Mar 2024 05:06:26 +0100, Markus Heidelberg wrote: > In that case, "prompt" and "help" lines were added to the .in file and > "SECTION" was set to "project_specific" instead of "hosttools_noprompt". > > Signed-off-by: Markus Heidelberg > Message-Id: <20240304072708.50708-1-m.heidelberg@cab.de> > Signed-off-by: Michael Olbrich > > diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh > index b6789382c6f3..cc512faa1821 100644 > --- a/scripts/lib/ptxd_lib_template.sh > +++ b/scripts/lib/ptxd_lib_template.sh > @@ -107,7 +107,7 @@ export -f ptxd_template_read_author > > ptxd_template_read_section() { > local section_name > - if [ "${action}" = "host" ]; then > + if [ "${action}" = "host" -o "${action}" = "host-existing-target" ]; then > section_name="${1:-hosttools_noprompt}" > else > section_name="${1:-project_specific}"