[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32451] Can't install package from an unpacked
From: |
Simon Munton |
Subject: |
[Octave-bug-tracker] [bug #32451] Can't install package from an unpacked tarball |
Date: |
Sun, 13 Feb 2011 07:33:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 |
URL:
<http://savannah.gnu.org/bugs/?32451>
Summary: Can't install package from an unpacked tarball
Project: GNU Octave
Submitted by: nomis
Submitted on: Sun 13 Feb 2011 07:33:09 AM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: Simon Munton
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.0
Operating System: GNU/Linux
_______________________________________________________
Details:
Trying to install a package by passing in the directory of where the package
is no longer works.
octave:1> pkg install .
unpack: FILETYPE must be gunzip for a directory
error: called from `unpack' in file
/usr/share/octave/3.4.0/m/miscellaneous/unpack.m near line 47, column 9
error: called from:
error: /usr/share/octave/3.4.0/m/pkg/pkg.m at line 729, column 5
error: /usr/share/octave/3.4.0/m/pkg/pkg.m at line 354, column 9
This seems to be caused by a change to the way exist('.', 'file') works, in
that it now returns a non zero value if what is being tested is actually a
directory.
Attached is a possible solution for pkg.m which tests the return value of
exist('', 'file') for the value returned for a file.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 13 Feb 2011 07:33:09 AM GMT Name: octave-3.4.0.diff Size: 8kB
By: nomis
Possible solution
<http://savannah.gnu.org/bugs/download.php?file_id=22666>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32451>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #32451] Can't install package from an unpacked tarball,
Simon Munton <=