| Message ID | 20260205225528.92769-4-rs@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | oe-layertool-setup: general clean up and bugfix | expand |
On Thu, Feb 05, 2026 at 04:55:26PM -0600, Randolph Sapp via lists.yoctoproject.org wrote: > From: Randolph Sapp <rs@ti.com> > > Trim the existing trailing whitespace to align with editorconfig. Unfrotunately, this will not come through as an inline patch via the mailing list. Ryan will have to apply the original patch or make the same changes on his side. > Signed-off-by: Randolph Sapp <rs@ti.com> > --- > oe-layertool-setup.sh | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh > index eb412ff..cd6d04e 100755 > --- a/oe-layertool-setup.sh > +++ b/oe-layertool-setup.sh > @@ -136,7 +136,7 @@ check_input() { > if [ ! -f "$inputfile" ] > then > printf '%s\n' "ERROR: the file \"$inputfile\" given for inputfile does not exist" > - usage > + usage > fi > > # If directories do not exist then create them > @@ -348,7 +348,7 @@ configure_repo() { > printf '%s\n' "Skipping configuring duplicate repository" > return 1 > fi > - > + > if [ -z "$uri" ] > then > get_repo_uri > @@ -431,7 +431,7 @@ The $name repository has the following branches available: > > $branches > > -What branch would you like to checkout for the $name repository? > +What branch would you like to checkout for the $name repository? > EOM > read -r input > > -- > 2.52.0
diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh index eb412ff..cd6d04e 100755 --- a/oe-layertool-setup.sh +++ b/oe-layertool-setup.sh @@ -136,7 +136,7 @@ check_input() { if [ ! -f "$inputfile" ] then printf '%s\n' "ERROR: the file \"$inputfile\" given for inputfile does not exist" - usage + usage fi # If directories do not exist then create them @@ -348,7 +348,7 @@ configure_repo() { printf '%s\n' "Skipping configuring duplicate repository" return 1 fi - + if [ -z "$uri" ] then get_repo_uri @@ -431,7 +431,7 @@ The $name repository has the following branches available: $branches -What branch would you like to checkout for the $name repository? +What branch would you like to checkout for the $name repository? EOM read -r input