Mercurial > hg > octave-nkf
changeset 14487:a467f3e04b7a
Fix incorrect call to getarchprefix.
* scripts/pkg/private/create_pkgadddel: Fix incorrect call to getarchprefix.
author | Carnë Draug <carandraug+dev@gmail.com> |
---|---|
date | Mon, 19 Mar 2012 01:33:31 +0000 |
parents | 6bed5141fdad |
children | f36301ea650f |
files | scripts/pkg/private/create_pkgadddel.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/pkg/private/create_pkgadddel.m +++ b/scripts/pkg/private/create_pkgadddel.m @@ -29,8 +29,8 @@ ## architecture dependent directory so that the autoload/mfilename ## commands work as expected. The only part that doesn't is the ## part in the main directory. - archdir = fullfile (getarchprefix (desc), cstrcat (desc.name, "-", - desc.version), getarch ()); + archdir = fullfile (getarchprefix (desc, global_install), cstrcat (desc.name, + "-", desc.version), getarch ()); if (exist (getarchdir (desc, global_install), "dir")) archpkg = fullfile (getarchdir (desc, global_install), nm); archfid = fopen (archpkg, "at");