[squeak-dev] squeak.sh kernel check error

Fabio Niephaus lists at fniephaus.com
Tue Mar 31 16:30:56 UTC 2020


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
>


More information about the Squeak-dev mailing list