Closed ghost closed 3 years ago
oops. I realised that I'm likely writing zsh parameter expansion, not bash's.
That makes sense 😄, i thought it looked odd.
just tested this PR and it looks fine. in addition to the zsh expansion I mentioned, I also used zsh's 1-based index. Thanks for your PR.
Problem
For some reason, the script doesn't like the parameter expansion on the
$CURRENT
and$LATEST
, according to the latest reply on the forum.Here is a snippet for the error:
Solution
I changed the script so that it reads using IFS, that should make the solution more reliable. (can work across shells?) The pull request is also for checking the first split of the version string. (once nvidia releases >470)