chore: fix update script for mac silicon#2073
Conversation
functions.sh
Outdated
| arch="s390x" | ||
| ;; | ||
| arm64) | ||
| arch="amd64" |
There was a problem hiding this comment.
why the mismatch arch here?
There was a problem hiding this comment.
dunno, but it produces the correct diff
There was a problem hiding this comment.
aaah, this should be arm64 just like the one below
There was a problem hiding this comment.
see OP - that gives the wrong diff
|
I don't think this is right. It should explicitly define the arch |
|
Feel free to push to this branch 😀 |
|
What is broken that this fixes? |
|
Running the update script on arm64 macs (see linked #1848) |
|
Ooooh, the diff you posted is what you get before the fix. |
|
No, the diff is if I do |
92ec633 to
8739d1e
Compare
|
@SimenB @PeterDaveHello fixed. |
SimenB
left a comment
There was a problem hiding this comment.
script works correctly for me now, thanks @LaurentGoderre!
Not sure if the fix is correct for linux arm64, but we can cross that bridge if we ever get to it 😀 Ideally your own arch shouldn't impact the update scripts anyways, but w/e
Somebody else needs to approve as I'm not allowed as the author 😅
Fixes #1848, but I'm not sure if it's the correct fix.
If I set
archasarm64, I get this diff:which seems wrong 😀