1,847
edits
(Update to properly setup the environment for AquaTerm, Gnuplot, and Ghostscript. This version has been tested on a Mac running 10.7 with no Fink or Macports installed) |
(Mark as outdated.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Warning|This page is outdated (October 2019). For more recent information, see [[Octave for macOS]].}} | |||
The script below is intended to be part of a [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|MacOS X App bundle for Octave]]. This script is called by the [[MacOS_X_App_Launcher_Script|App launcher script]]. The script is responsible for initializing the shell environment and running Octave. | The script below is intended to be part of a [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|MacOS X App bundle for Octave]]. This script is called by the [[MacOS_X_App_Launcher_Script|App launcher script]]. The script is responsible for initializing the shell environment and running Octave. | ||
Line 24: | Line 26: | ||
VER="3.7.0+" | VER="3.7.0+" | ||
if [ -L "$0" ] ; then | if [ -L "$0" ] ; then | ||
ROOT="$(dirname $(readlink - | ROOT="$(dirname $(readlink -n "$0"))" | ||
else | else | ||
ROOT="$(cd "$(dirname "$0")" 2>/dev/null && pwd)" | ROOT="$(cd "$(dirname "$0")" 2>/dev/null && pwd)" | ||
Line 171: | Line 173: | ||
end tell | end tell | ||
EOF</nowiki> | EOF</nowiki> | ||
[[Category:Outdated pages]] |