Mercurial > hg > octave-lyh
diff src/octave.cc @ 1477:774f8fe3798e
[project @ 1995-09-26 05:21:03 by jwe]
author | jwe |
---|---|
date | Tue, 26 Sep 1995 05:21:03 +0000 |
parents | 3bb3848031a0 |
children | 89c587478067 |
line wrap: on
line diff
--- a/src/octave.cc +++ b/src/octave.cc @@ -389,10 +389,15 @@ int verbose = (verbose_flag && ! inhibit_startup_message); - // Execute commands from the site-wide configuration file. + // Execute commands from the site-wide configuration file. First + // from the file $(prefix)/lib/octave/site/m/octaverc (if it exists), + // then from the file $(prefix)/lib/octave/$(version)/m/octaverc (if + // it exists). + + char *lsd = get_local_site_defaults (); + parse_and_execute (lsd, 0, verbose); char *sd = get_site_defaults (); - parse_and_execute (sd, 0, verbose); // Try to execute commands from $HOME/.octaverc and ./.octaverc.