Mercurial > hg > octave-nkf
comparison scripts/pkg/pkg.m @ 15058:3691a606283e
Fix typo in pkg.m reported in bug #36994.
* pkg.m: fix typo in call to canonicalize_file_name.
author | Muhali <muhali@shaw.ca> |
---|---|
date | Tue, 31 Jul 2012 11:58:01 +0200 |
parents | 4c8ddf57fcda |
children | 0b29c16a2645 |
comparison
equal
deleted
inserted
replaced
15057:46b19589b593 | 15058:3691a606283e |
---|---|
426 if (status == 0) | 426 if (status == 0) |
427 error("cannot create prefix %s: %s", prefix, msg); | 427 error("cannot create prefix %s: %s", prefix, msg); |
428 endif | 428 endif |
429 warning ("creating the directory %s\n", prefix); | 429 warning ("creating the directory %s\n", prefix); |
430 endif | 430 endif |
431 local_packages = prefix = canonicalize_filename (prefix); | 431 local_packages = prefix = canonicalize_file_name (prefix); |
432 user_prefix = true; | 432 user_prefix = true; |
433 if (length (files) >= 2 && ischar (files{2})) | 433 if (length (files) >= 2 && ischar (files{2})) |
434 archprefix = files{2}; | 434 archprefix = files{2}; |
435 if (! exist (archprefix, "dir")) | 435 if (! exist (archprefix, "dir")) |
436 [status, msg, msgid] = mkdir (archprefix); | 436 [status, msg, msgid] = mkdir (archprefix); |