Mercurial > octave-nkf
view scripts/startup/site-rcfile @ 20514:ac0f7acdc3fd
avoid executing startup file twice when using run-octave script (bug #45872)
* site-rcfile: Rename from local-rcfile.
* version-rcfile: Rename from main-rcfile.
* scripts/startup/module.mk: Update to match new names.
(install-startup-files, uninstall-startup-files): Move rules here from
scripts/module.mk.
* site-rcfile, version-rcfile: Note environment variables that may be
used to select site and version rcfiles to execute.
* run-octave.in (OCTAVE_VERSION_INITFILE): Define to use
version-rcfile from source tree.
(OCTAVE_SITE_INITFILE): Update to use site-rcfile from source tree.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Sep 2015 12:45:46 -0400 |
parents | scripts/startup/local-rcfile@aaa6df7aa13a |
children |
line wrap: on
line source
## System-wide startup file for Octave. ## ## If the environment variable OCTAVE_SITE_INITFILE is set when Octave ## starts, then that file is executed instead of this file. ## ## This file should contain any commands that should be executed each ## time Octave starts for every user at this site.