Mercurial > hg > octave-avbm
changeset 6937:ee12d56c4200
[project @ 2007-10-01 10:08:31 by dbateman]
author | dbateman |
---|---|
date | Mon, 01 Oct 2007 10:08:31 +0000 |
parents | e92bc778c634 |
children | 688ef9440022 |
files | scripts/ChangeLog scripts/pkg/pkg.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-10-01 David Bateman <dbateman@free.fr> + + * pkg/pkg.m (archprefix): Set using octave_config_info("libexecdir") + rather than OCTAVE_HOME(). + 2007-09-30 Ben Abbott <bpabbott@mac.com> * plot/findobj.m: New function.
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -191,7 +191,7 @@ if (prefix == -1) if (global_install) prefix = fullfile (OCTAVE_HOME (), "share", "octave", "packages"); - archprefix = fullfile (OCTAVE_HOME (), "libexec", "octave", "packages"); + archprefix = fullfile (octave_config_info ("libexecdir"), "octave", "packages"); else prefix = fullfile ("~", "octave"); archprefix = prefix;