This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: maintainer-scripts/gcc_release
On Mon, 15 Mar 2004, Gerald Pfeifer wrote:
> +# The directory in which the files will be placed.
I don't really like this sort of hardcoding (if the lookup of the home
directory can be done at runtime, it surely is better to do it at runtime,
even though any move of the directory would probably be accompanied by
appropriate symlinks to support scripts with an old location hardcoded).
(Besides, /var/ftp is not the same as ~ftp/pub/gcc.)
You could set it first time with the quotes then use eval
FTP_PATH=$FTP_PATH in the -l case to avoid duplicating the path.
Joseph S. Myers