!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! RESUMECOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.
If I look at make.conf(5), it says to be sure to use:
\${DISTDIR}/\${FILE}
If I do use that, then a directory is made named <filename>, and the file is
placed inside it.
If I use:
\${DISTDIR}/${FILE}
Then I get the warning listed above.
From my current /etc/make.conf:
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
How do I get this to work where I don't get the warnings, and don't have
directories made instead of simply files placed in /usr/portage/distfiles?
Thanks,
Vicki
[snip]
> From my current /etc/make.conf:
>
> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
>
> How do I get this to work where I don't get the warnings, and don't
> have directories made instead of simply files placed
> in /usr/portage/distfiles?
Try replacing the quotes (") with apostrophes ('). This will defer the
interpretation of the \ and $ meta-characters until it's needed.
--
Regards,
Dave [RLU #314465]
=======================================================================
dwn...@spamtrap.ntlworld.com (David W Noon)
Remove spam trap to reply by e-mail.
=======================================================================
> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
>
> How do I get this to work where I don't get the warnings, and don't have
> directories made instead of simply files placed in
> /usr/portage/distfiles?
Replace '-P' with '-O'.
--
Best regards,
Michał Górny
> On Fri, 04 Sep 2009 21:16:08 +0200, Victoria Heisner
> <phei...@shoreham.net> wrote:
>
>> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
>> \${DISTDIR}/${FILE}"
>> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
>> \${DISTDIR}/${FILE}"
>>
>> How do I get this to work where I don't get the warnings, and don't have
>> directories made instead of simply files placed in
>> /usr/portage/distfiles?
>
> Replace '-P' with '-O'.
>
Thanks, works a treat now.
Thanks again,
Vicki