[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47481] PKG_ADD within package inst/ directory
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #47481] PKG_ADD within package inst/ directory is silently discarded |
Date: |
Mon, 21 Mar 2016 03:40:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1 |
URL:
<http://savannah.gnu.org/bugs/?47481>
Summary: PKG_ADD within package inst/ directory is silently
discarded
Project: GNU Octave
Submitted by: carandraug
Submitted on: Mon 21 Mar 2016 03:40:01 GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
A package cannot have a PKG_ADD file within the inst/ directory. This is not
documented anywhere, it is just accepted. However, the inst/ directory is
meant to be the directory of the package with the files ready to be installed,
no build required. Indeed, the installation does copy everything within
inst/.
However, a PKG_ADD file there is then removed by what I think is a bug. When
the m files are parsed for PKG_ADD directives, a file is open named like that,
clobbering the previous PKG_ADD file.
By simply appending instead of writing, this supports a PKG_ADD file in a
package inst/ directory.
But I may be wrong. Maybe there is a reason for why this is so? If no one
opposes, I will push this.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 21 Mar 2016 03:40:01 GMT Name: support_PKG_ADD_file_in_inst.cset
Size: 1kB By: carandraug
<http://savannah.gnu.org/bugs/download.php?file_id=36705>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47481>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47481] PKG_ADD within package inst/ directory is silently discarded,
Carnë Draug <=