[38038] trunk/base/src/port1.0/portextract.tcl
Ryan Schmidt
ryandesign at macports.org
Sun Jul 6 23:53:35 PDT 2008
On Jul 4, 2008, at 21:37, Rainer Müller wrote:
> Ryan Schmidt wrote:
>
>> On Jul 3, 2008, at 23:30, raimue at macports.org wrote:
>>
>>> Revision: 38038
>>> http://trac.macosforge.org/projects/macports/changeset/
>>> 38038
>>> Author: raimue at macports.org
>>> Date: 2008-07-03 21:30:56 -0700 (Thu, 03 Jul 2008)
>>> Log Message:
>>> -----------
>>> port1.0/portextract.tcl:
>>> If the $distfile exists in $filespath, use it from there as it was
>>> not fetched
>>> to the distpath in this case.
>>
>> Why would the distfile be in the filespath?
>
> 'port fetch' checks first if the distfile exists in $filespath and
> does
> not fetch it to $distpath if it exists there. So 'port fetch' was able
> to work with a distfile in $filespath, but 'port extract' was not.
>
> I did this change for consistency. We could also remove the check for
> the distfile in $filespath in portfetch, but I think that would
> apply to
> patchfiles as well which are often in $filespath.
Ah, now I understand. Makes sense.
More information about the macports-dev
mailing list