mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxd_lib_template: fix "ptxdist newpackage host" with an existing target counterpart
@ 2024-03-04  7:27 Markus Heidelberg
  2024-03-15  4:06 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Heidelberg @ 2024-03-04  7:27 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Heidelberg

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 <m.heidelberg@cab.de>
---
 scripts/lib/ptxd_lib_template.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
index f8f188e14..9d6c6fba7 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}"
-- 
2.34.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] ptxd_lib_template: fix "ptxdist newpackage host" with an existing target counterpart
  2024-03-04  7:27 [ptxdist] [PATCH] ptxd_lib_template: fix "ptxdist newpackage host" with an existing target counterpart Markus Heidelberg
@ 2024-03-15  4:06 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-03-15  4:06 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Heidelberg

Thanks, applied as 74d12e9c53065c7aaee1646739fc83d4a904dad9.

Michael

[sent from post-receive hook]

On Fri, 15 Mar 2024 05:06:26 +0100, Markus Heidelberg <m.heidelberg@cab.de> 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 <m.heidelberg@cab.de>
> Message-Id: <20240304072708.50708-1-m.heidelberg@cab.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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}"



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-15  4:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04  7:27 [ptxdist] [PATCH] ptxd_lib_template: fix "ptxdist newpackage host" with an existing target counterpart Markus Heidelberg
2024-03-15  4:06 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox