[squeak-dev] squeak.sh kernel check error

Ron Teitelbaum ron at usmedrec.com
Tue Mar 31 17:38:17 UTC 2020


Thanks Fabio!

Ron

On Tue, Mar 31, 2020 at 12:30 PM Fabio Niephaus <lists at fniephaus.com> wrote:

> Thanks, Ron. Just pushed your fix:
>
> Linux bundle:
>
> https://github.com/squeak-smalltalk/squeak-app/commit/d91ec77d5ff8901bd4155b88806def1840881272
>
> AIO bundle:
>
> https://github.com/squeak-smalltalk/squeak-app/commit/2541c1083bbda64a0839e3858f7517a493219de9
>
> Cheers,
> Fabio
>
> On Mon, Mar 30, 2020 at 5:30 PM Ron Teitelbaum <ron at usmedrec.com> wrote:
> >
> > Hi All,
> >
> > The 64 bit linux version at:
> http://files.squeak.org/5.3/Squeak5.3-19431-64bit/Squeak5.3-19431-64bit-202003021730-Linux.zip
> squeak.sh has an error in it
> >
> > This code
> >
> >   if [[ "${major}" -lt "${min_major}" ]] || \
> >      [[ "${major}" -le "${min_major}" && "${major}" -lt "${min_minor}"
> ]] || \
> >      [[ "${major}" -le "${min_major}" && "${major}" -le "${min_minor}"
> && "${patch}" -lt "${min_patch}" ]]; then
> >     showerror "Linux kernel ($(uname -r)) needs to be newer than
> ${min_major}.${min_minor}.${min_patch}."
> >     exit 1
> >   fi
> >
> > Should be changed to:
> >
> >   if [[ "${major}" -lt "${min_major}" ]] || \
> >      [[ "${major}" -le "${min_major}" && "${minor}" -lt "${min_minor}"
> ]] || \
> >      [[ "${major}" -le "${min_major}" && "${minor}" -le "${min_minor}"
> && "${patch}" -lt "${min_patch}" ]]; then
> >     showerror "Linux kernel ($(uname -r)) needs to be newer than
> ${min_major}.${min_minor}.${min_patch}."
> >     exit 1
> >   fi
> >
> > All the best,
> >
> > Ron Teitelbaum
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200331/c68dcd1c/attachment.html>


More information about the Squeak-dev mailing list