[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30650] Feature Request: mkdir should create h
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #30650] Feature Request: mkdir should create hierarchy |
Date: |
Fri, 30 Nov 2012 07:40:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11 |
Follow-up Comment #10, bug #30650 (project octave):
I just had this problem with kakila when working on pkg. The following can be
a temporary fix for someone who stumbles upon this. It is definitely not an
appropriate fix for Octave:
function [status, msg, msgid] = mkdir (parent, dirname)
if (! isdir (parent))
[grandparent, name, ext] = fileparts (parent);
[status, msg, msgid] = builtin ("mkdir", grandparent, [name ext]);
if (! status)
return
endif
endif
[status, msg, msgid] = mkdir (parent, dirname);
endfunction
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30650>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #30650] Feature Request: mkdir should create hierarchy,
Carnë Draug <=