MacOS X App Octave Shell Script: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
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.
The scripts name is "octave" and its location in the App bundle is {{Codeline|<nowiki>Octave-x.y.z.app/Contents/Resources/bin/octave</nowiki>}}. Where {{Codeline|<nowiki>x.y.z</nowiki>}} refers to the version of the bundled Octave.
  <nowiki>#!/bin/sh
  <nowiki>#!/bin/sh
# Copyright (C) 2007-2008, Thomas Treichl and Paul Kienzle
# Copyright (C) 2007-2008, Thomas Treichl and Paul Kienzle
364

edits