annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5316
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
1 ## System-wide startup file for Octave.
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
2 ##
20514
ac0f7acdc3fd avoid executing startup file twice when using run-octave script (bug #45872)
John W. Eaton <jwe@octave.org>
parents: 5316
diff changeset
3 ## If the environment variable OCTAVE_SITE_INITFILE is set when Octave
ac0f7acdc3fd avoid executing startup file twice when using run-octave script (bug #45872)
John W. Eaton <jwe@octave.org>
parents: 5316
diff changeset
4 ## starts, then that file is executed instead of this file.
ac0f7acdc3fd avoid executing startup file twice when using run-octave script (bug #45872)
John W. Eaton <jwe@octave.org>
parents: 5316
diff changeset
5 ##
5316
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
6 ## This file should contain any commands that should be executed each
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
7 ## time Octave starts for every user at this site.