Mercurial > hg > octave-avbm
changeset 5735:3a89e82677f0
[project @ 2006-04-04 19:21:31 by jwe]
author | jwe |
---|---|
date | Tue, 04 Apr 2006 19:23:20 +0000 |
parents | a7d2c47371d2 |
children | e07baa8b93b9 |
files | scripts/path/savepath.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/path/savepath.m +++ b/scripts/path/savepath.m @@ -38,7 +38,7 @@ endstring = "## End savepath auto-created section"; if (nargin == 0) - savefile = "~/.octaverc"; + savefile = tilde_expand ("~/.octaverc"); endif ## parse the file if it exists to see if we should replace a section @@ -76,7 +76,7 @@ endif if (startline > endline || (startline > 0 && endline == 0)) - error ("savepath: unable to parse file, %s. There was probably a start line without an end line or end without start.", savefile); + error ("savepath: unable to parse file, %s", savefile); endif ## put the path into a cell array