rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Mac .app bundle fails if path includes spaces #913

Open rtoy opened 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-03 14:46:57 Created by champo on 2011-06-20 15:00:04 Original: https://sourceforge.net/p/maxima/bugs/2210


The Mac OS X app bundle for Maxima-5.24.0 fails to launch if the path to Maxima.app has spaces. Specifically, in Maxima.app/Contents/Resources/maxima.sh, the line ROOT=`(cd \`dirname $0\` > /dev/null 2>&1 ; pwd)` fails to provide the correct path (to the directory containing maxima.sh). I have tried to correct this, but my bash scripting skills aren't great, and after some effort I can't solve it.

It appears that the executable script Maxima.app/Contents/Resources/maxima/bin/maxima may have similar issues. --Nathaniel

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-03 14:46:57 Created by andrejv on 2011-06-20 21:17:56 Original: https://sourceforge.net/p/maxima/bugs/2210/#6344