I’m sorry I haven’t been keeping up with Sage development as much as I would like.
The file src/mac-app/start-sage.sh could probably use a bit of love from someone. I’m planning to get to it, hopefully soon, but it’s just a shell script largely unrelated to the rest of Sage.app, so changing it shouldn’t require any specific knowledge of the app.
Anyway, on line 27 I try to find the SAGE_ROOT variable, and I add a trailing slash. Based on the errors this looks wrong. In fact the entire idea of setting SAGE_ROOT seems misguided now. I think I added it for two reasons. First, so that the path could contain spaces, and second to avoid changing sage location repeatedly after the app moved.
But, especially if someone creates an installer, we can probably just assert that there are no spaces in the path, in which case a lot of the script could be simplified.
-Ivan