Thanks, applied as 98bc55e65d3b5c64ea15c86d2ac6627fdb13fbae. Michael
[sent from post-receive hook] On Fri, 24 Nov 2023 08:28:08 +0100, Uwe Kleine-König <[email protected]> wrote: > Some variables corresponding to ptxdist parameters use "true" as value > when given, others use "1". PTXDIST_DIRTY, PTXDIST_FORCE and > PTXDIST_PEDANTIC are in the first group according to > > git grep -E 'PTXDIST_(DIRTY|FORCE|FEDANTIC)=' > > . Adapt ptxd_make_nested_ptxdist() accordingly. > > Fixes: 5169ae99daf8 ("add support for nested PTXdist execution") > Signed-off-by: Uwe Kleine-König <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/scripts/lib/ptxd_make_nested.sh b/scripts/lib/ptxd_make_nested.sh > index cae12bceb377..2c4af5337207 100644 > --- a/scripts/lib/ptxd_make_nested.sh > +++ b/scripts/lib/ptxd_make_nested.sh > @@ -46,13 +46,13 @@ ptxd_make_nested_ptxdist() { > fi > args=( "cd" "${pkg_workspace}" "&&" "${PTXDIST_TOPDIR}/bin/ptxdist" ) > > - if [ "${PTXDIST_DIRTY}" = 1 ]; then > + if [ "${PTXDIST_DIRTY}" = true ]; then > args[${#args[*]}]="--dirty" > fi > - if [ "${PTXDIST_FORCE}" = 1 ]; then > + if [ "${PTXDIST_FORCE}" = true ]; then > args[${#args[*]}]="--force" > fi > - if [ "${PTXDIST_PEDANTIC}" = 1 ]; then > + if [ "${PTXDIST_PEDANTIC}" = true ]; then > args[${#args[*]}]="--pedantic" > fi > if [ "${PTXDIST_QUIET}" = 1 ]; then
