On Wed, Sep 09, 2020 at 10:02:19PM +0200, Petr Vorel wrote: > Instead non-existing sparc64-ieee1275 format use all 3 sparc64 formats: > sparc64-ieee1275-{aout,cdcore,raw}. > > Signed-off-by: Petr Vorel <pvo...@suse.cz> > --- > .travis.yml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/.travis.yml b/.travis.yml > index 4bd05a30a..d019a0172 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -40,8 +40,8 @@ script: > > # Build all selected GRUB targets. > - for target in $GRUB_TARGETS; do > - plat=${target#*-}; > - arch=${target%-*}; > + arch=$(echo $target | cut -d- -f1); > + plat=$(echo $target | cut -d- -f2);
I think it should be: plat=$(echo $target | cut -d- -f2-); Note dash after "2"... Though I would prefer this: arch=$(echo "$target" | cut -d - -f 1); plat=$(echo "$target" | cut -d - -f 2-); Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel