Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| {{Warning|This page is outdated (October 2019). For more information, see [[Octave for macOS]].}}
| | This shell script below is used to launch the MacOS X Terminal.app which will then run the {{Codeline|<nowiki>octave</nowiki>}} shell script, which will initialize the shell environment and run Octave. The name of the script below is just "script" and is used as the MacOS X App bundle launcher script. |
| | |
| This shell script below is intended to as the launch script for the [[Create_a_MacOS_X_App_Bundle_Using_MacPorts| MacOS X App bundle]] used to launch the MacOS X Terminal.app which will then run the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]], which will initialize the shell environment and run Octave. The name of the script below is just "script" and is used as the MacOS X App bundle launcher script. | |
| <nowiki>#!/bin/sh | | <nowiki>#!/bin/sh |
| # Copyright (C) 2007, Thomas Treichl and Paul Kienzle | | # Copyright (C) 2007, Thomas Treichl and Paul Kienzle |
Line 21: |
Line 19: |
| ROOT="$(cd "$(dirname "$0")" 2>/dev/null && pwd)" | | ROOT="$(cd "$(dirname "$0")" 2>/dev/null && pwd)" |
|
| |
|
| if [[ $OSTYPE = "darwin9.0" ]]; then
| | open -F -a Terminal "${ROOT}/bin/octave"</nowiki> |
| exit
| |
| elif [[ $OSTYPE = "darwin10.0" ]]; then
| |
| open -a Terminal "${ROOT}/bin/octave"
| |
| elif [[ $OSTYPE = "darwin11" ]]; then
| |
| open -F -a Terminal "${ROOT}/bin/octave"
| |
| else
| |
| open -F -a Terminal "${ROOT}/bin/octave"
| |
| fi</nowiki>
| |
| | |
| [[Category:Outdated pages]]
| |