# HG changeset patch # User John W. Eaton # Date 1222665707 -7200 # Node ID ee51db2f6a6ae204aed34374a954392f6d598a38 # Parent eff8ac793dbf6dc756cf26db9fbc46334143f86d load-path.cc (load_path::do_initialize): look for OCTAVE_PATH in the environment, not OCTAVE_LOADPATH diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-09-24 John W. Eaton + + * load-path.cc (load_path::do_initialize): Check for OCTAVE_PATH + in the environment, not OCTAVE_LOADPATH. + 2008-09-18 David Bateman * DLD-FUNCTIONS/fftw.cc (Ffftw): Clarify the documentation. diff --git a/src/load-path.cc b/src/load-path.cc --- a/src/load-path.cc +++ b/src/load-path.cc @@ -374,7 +374,7 @@ std::string tpath = load_path::command_line_path; if (tpath.empty ()) - tpath = octave_env::getenv ("OCTAVE_LOADPATH"); + tpath = octave_env::getenv ("OCTAVE_PATH"); std::string xpath = ".";